<commit_before>import {Component} from 'angular2/core'

@Component({
    selector: 'my-app',
    template: `<h3>{{title}}</h3>`
})
export class AppComponent {
    title:string = "Angular 2.0 is in the house.";<commit_msg>Added property and event bindings<commit_after>import {Component} from 'angular2/core'

@Component({
    selector: "my-app",
    template: `<h3 [style.color]="color" (click)="updateColor()">{{title}}</h3>`
})
export class AppComponent {
    private title:string = "Angular 2.0 is in the house.";
    private color:string;
  	constructor() {
  		this.updateColor();
  	}
    getColor() {
      return "#"+((1<<24)*Math.random()|0).toString(16);
    }
    updateColor() {
      this.color = this.getColor();
    }
{'fraction_non_alphanumeric': 0.18032786885245902, 'fraction_numerical': 0.02185792349726776, 'mean_word_length': 3.8543046357615895, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '4996149', 'n_tokens_mistral': 252, 'n_tokens_neox': 240, 'n_words': 54}