Remove unused fields

This commit is contained in:
Kevin Moore 2015-01-26 08:38:33 -08:00 committed by vsavkin
parent 9682437aeb
commit a02e7b5067
7 changed files with 0 additions and 17 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -12,14 +12,12 @@ export class CompileControl {
_steps:List<CompileStep>;
_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<this._steps.length; i++) {
var step = this._steps[i];
this._parent = parent;
this._current = current;
this._currentStepIndex = i;
step.process(parent, current, this);
parent = this._parent;

View File

@ -94,7 +94,6 @@ export class CssSelector {
* are contained in a given CssSelector.
*/
export class SelectorMatcher {
_selectables:List;
_elementMap:Map;
_elementPartialMap:Map;
_classMap:Map;
@ -102,8 +101,6 @@ export class SelectorMatcher {
_attrValueMap:Map;
_attrValuePartialMap:Map;
constructor() {
this._selectables = ListWrapper.create();
this._elementMap = MapWrapper.create();
this._elementPartialMap = MapWrapper.create();

View File

@ -78,7 +78,6 @@ class IntermediateContent extends ContentStrategy {
selector: 'content'
})
export class Content {
_element:Element;
select:string;
_strategy:ContentStrategy;

View File

@ -11,7 +11,6 @@ export class ViewPort {
templateElement: Element;
defaultProtoView: ProtoView;
_views: List<View>;
_viewLastNode: List<Node>;
_lightDom: any;
elementInjector: ElementInjector;
appInjector: Injector;