refactor(change_detection): made ChangeDetector and ProtoChangeDetector interfaces

List of changes:

- Makes ChangeDetector and ProtoChangeDetector interfaces
- Assigns a unique id to every detector
This commit is contained in:
vsavkin
2015-06-18 14:47:38 -07:00
parent ee8da36d08
commit f80f97253c
20 changed files with 134 additions and 93 deletions

View File

@ -379,7 +379,7 @@ class FakeDirectives {
getDirectiveFor(record) { return this.targetObj; }
}
class DummyDispatcher extends ChangeDispatcher {
class DummyDispatcher implements ChangeDispatcher {
notifyOnBinding(bindingRecord, newValue) { throw "Should not be used"; }
notifyOnAllChangesDone() {}
}