diff --git a/modules/change_detection/src/keyvalue_changes.js b/modules/change_detection/src/keyvalue_changes.js index f43b981e82..f50f82488a 100644 --- a/modules/change_detection/src/keyvalue_changes.js +++ b/modules/change_detection/src/keyvalue_changes.js @@ -4,7 +4,6 @@ import {stringify, looseIdentical, isJsObject} from 'facade/lang'; export class KeyValueChanges { _records:Map; - _map:any; _mapHead:KVChangeRecord; _previousMapHead:KVChangeRecord; @@ -17,7 +16,6 @@ export class KeyValueChanges { constructor() { this._records = MapWrapper.create(); - this._map = null; this._mapHead = null; this._previousMapHead = null; this._changesHead = null; @@ -75,7 +73,6 @@ export class KeyValueChanges { check(map):boolean { this._reset(); - this._map = map; var records = this._records; var oldSeqRecord:KVChangeRecord = this._mapHead; var lastOldSeqRecord:KVChangeRecord = null; diff --git a/modules/core/src/compiler/compiler.js b/modules/core/src/compiler/compiler.js index 64d5dd9299..c78b27abf8 100644 --- a/modules/core/src/compiler/compiler.js +++ b/modules/core/src/compiler/compiler.js @@ -49,12 +49,10 @@ export class CompilerCache { * the CompilePipeline and the CompileSteps. */ export class Compiler { - _templateLoader:TemplateLoader; _reader: DirectiveMetadataReader; _parser:Parser; _compilerCache:CompilerCache; constructor(templateLoader:TemplateLoader, reader: DirectiveMetadataReader, parser:Parser, cache:CompilerCache) { - this._templateLoader = templateLoader; this._reader = reader; this._parser = parser; this._compilerCache = cache; diff --git a/modules/core/src/compiler/element_injector.js b/modules/core/src/compiler/element_injector.js index b6b3e9b3bc..2b9d44df2c 100644 --- a/modules/core/src/compiler/element_injector.js +++ b/modules/core/src/compiler/element_injector.js @@ -46,13 +46,11 @@ class TreeNode { _head:TreeNode; _tail:TreeNode; _next:TreeNode; - _prev:TreeNode; constructor(parent:TreeNode) { this._parent = parent; this._head = null; this._tail = null; this._next = null; - this._prev = null; if (isPresent(parent)) parent._addChild(this); } @@ -62,7 +60,6 @@ class TreeNode { _addChild(child:TreeNode) { if (isPresent(this._tail)) { this._tail._next = child; - child._prev = this._tail; this._tail = child; } else { this._tail = this._head = child; @@ -290,7 +287,6 @@ export class ElementInjector extends TreeNode { _obj7:any; _obj8:any; _obj9:any; - _view:View; _preBuiltObjects; _constructionCounter; _eventCallbacks; diff --git a/modules/core/src/compiler/pipeline/compile_control.js b/modules/core/src/compiler/pipeline/compile_control.js index 6cf6e8d8d3..7a0013e1f2 100644 --- a/modules/core/src/compiler/pipeline/compile_control.js +++ b/modules/core/src/compiler/pipeline/compile_control.js @@ -12,14 +12,12 @@ export class CompileControl { _steps:List; _currentStepIndex:number; _parent:CompileElement; - _current:CompileElement; _results; _additionalChildren; constructor(steps) { this._steps = steps; this._currentStepIndex = 0; this._parent = null; - this._current = null; this._results = null; this._additionalChildren = null; } @@ -33,7 +31,6 @@ export class CompileControl { for (var i=startStepIndex; i; - _viewLastNode: List; _lightDom: any; elementInjector: ElementInjector; appInjector: Injector;