style(render): idiomatic TS

This commit is contained in:
Victor Berchet
2015-06-12 23:11:11 +02:00
parent cebf69933c
commit d64cc8d87d
28 changed files with 108 additions and 311 deletions
+1 -7
View File
@@ -20,13 +20,7 @@ import {ASTWithSource} from 'angular2/change_detection';
* its output will be stored in precompiled templates.
*/
export class EventBinding {
fullName: string; // name/target:name, e.g "click", "window:resize"
source: ASTWithSource;
constructor(fullName: string, source: ASTWithSource) {
this.fullName = fullName;
this.source = source;
}
constructor(public fullName: string, public source: ASTWithSource) {}
}
export class ElementBinder {