<commit_before>/**
 * Created by deronlee on 5/5/16.
 */

import {Component} from "angular2/core";


@Component({
    selector: 'shopping-list',
    template: `
        <ul>
            <li 
            *ngFor="#shoppingListItem of shoppingListItems"
            (click)="onItemClicked(shoppingListItem)"
            >{{ shoppingListItem.name }}</li>
        </ul>
        <input type="text" [(ngModel)]="selectedItem.name" #shoppingListItem>
        <button (click)="onDeleteItem()">Delete Item</button><br>
        <input type="text" #shoppingListItem>
        <button (click)="onAddItem()">Add Item</button>
    `,

})<commit_msg>modify shopping-list.component.ts<commit_after>/**
 * Created by deronlee on 5/5/16.
 */

import {Component} from "angular2/core";


@Component({
    selector: 'shopping-list',
    template: `
        <ul>
            <li 
            *ngFor="#shoppingListItem of shoppingListItems"
            (click)="onItemClicked(shoppingListItem)"
            >{{ shoppingListItem.name }}</li>
        </ul>
        <input type="text" [(ngModel)]="selectedItem.name" #shoppingListItem>
        <button class="btn" (click)="onDeleteItem()">Delete Item</button><br>
        <input type="text" #shoppingListItem>
        <button (click)="onAddItem()">Add Item</button>
    `,

})
{'fraction_non_alphanumeric': 0.16640986132511557, 'fraction_numerical': 0.007704160246533128, 'mean_word_length': 2.7761627906976742, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5604508', 'n_tokens_mistral': 421, 'n_tokens_neox': 412, 'n_words': 74}