refactor(view): refactored DirectiveMemento to expose properties in a consistent way

This commit is contained in:
vsavkin
2015-03-31 07:47:26 -07:00
parent 982bb8b01d
commit b65b145122
5 changed files with 23 additions and 26 deletions

View File

@ -780,11 +780,11 @@ class TestData {
class FakeDirectiveMemento {
value:any;
notifyOnAllChangesDone:boolean;
callOnAllChangesDone:boolean;
constructor(value, notifyOnAllChangesDone:boolean = false) {
constructor(value, callOnAllChangesDone:boolean = false) {
this.value = value;
this.notifyOnAllChangesDone = notifyOnAllChangesDone;
this.callOnAllChangesDone = callOnAllChangesDone;
}
}