From 5408a9a72d3237ad53fb6bf8631d84659f90e97d Mon Sep 17 00:00:00 2001 From: vsavkin Date: Thu, 9 Apr 2015 07:36:38 -0700 Subject: [PATCH] cleanup(change_detection): removed dead code --- modules/angular2/src/core/compiler/view.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/angular2/src/core/compiler/view.js b/modules/angular2/src/core/compiler/view.js index eb5bc9453f..cdb108892a 100644 --- a/modules/angular2/src/core/compiler/view.js +++ b/modules/angular2/src/core/compiler/view.js @@ -465,12 +465,6 @@ export class DirectiveBindingMemento { this.propertyName = propertyName; this.setter = setter; } - - invoke(currentValue:any, elementInjectors:List) { - var elementInjector:ElementInjector = elementInjectors[this._elementInjectorIndex]; - var directive = elementInjector.getDirectiveAtIndex(this._directiveIndex); - this.setter(directive, currentValue); - } } class DirectiveMemento {