@@ -31,7 +31,6 @@ export class View {
3131  /// When the view is part of render tree, the DocumentFragment is empty, which is why we need 
3232  /// to keep track of the nodes. 
3333  nodes :List < Node > ; 
34-   onChangeDispatcher :OnChangeDispatcher ; 
3534  componentChildViews : List < View > ; 
3635  viewPorts : List < ViewPort > ; 
3736  preBuiltObjects : List < PreBuiltObjects > ; 
@@ -45,7 +44,6 @@ export class View {
4544    this . nodes  =  nodes ; 
4645    this . elementInjectors  =  elementInjectors ; 
4746    this . rootElementInjectors  =  rootElementInjectors ; 
48-     this . onChangeDispatcher  =  null ; 
4947    this . textNodes  =  textNodes ; 
5048    this . bindElements  =  bindElements ; 
5149    this . recordRange  =  protoRecordRange . instantiate ( this ,  MapWrapper . create ( ) ) ; 
@@ -555,24 +553,3 @@ class PropertyUpdate {
555553    this . previousValue  =  previousValue ; 
556554  } 
557555} 
558- 
559- 
560- //TODO(tbosch): I don't like to have done be called from a different place than notify 
561- // notify is called by change detection, but done is called by our wrapper on detect changes. 
562- export  class  OnChangeDispatcher  { 
563- 
564-   _lastView :View ; 
565-   _lastTarget :DirectivePropertyMemento ; 
566-   constructor ( )  { 
567-     this . _lastView  =  null ; 
568-     this . _lastTarget  =  null ; 
569-   } 
570- 
571-   notify ( view :View ,  eTarget :DirectivePropertyMemento )  { 
572- 
573-   } 
574- 
575-   done ( )  { 
576- 
577-   } 
578- } 
0 commit comments