Remove unused fields
This commit is contained in:
parent
9682437aeb
commit
a02e7b5067
|
@ -4,7 +4,6 @@ import {stringify, looseIdentical, isJsObject} from 'facade/lang';
|
||||||
|
|
||||||
export class KeyValueChanges {
|
export class KeyValueChanges {
|
||||||
_records:Map;
|
_records:Map;
|
||||||
_map:any;
|
|
||||||
|
|
||||||
_mapHead:KVChangeRecord;
|
_mapHead:KVChangeRecord;
|
||||||
_previousMapHead:KVChangeRecord;
|
_previousMapHead:KVChangeRecord;
|
||||||
|
@ -17,7 +16,6 @@ export class KeyValueChanges {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this._records = MapWrapper.create();
|
this._records = MapWrapper.create();
|
||||||
this._map = null;
|
|
||||||
this._mapHead = null;
|
this._mapHead = null;
|
||||||
this._previousMapHead = null;
|
this._previousMapHead = null;
|
||||||
this._changesHead = null;
|
this._changesHead = null;
|
||||||
|
@ -75,7 +73,6 @@ export class KeyValueChanges {
|
||||||
|
|
||||||
check(map):boolean {
|
check(map):boolean {
|
||||||
this._reset();
|
this._reset();
|
||||||
this._map = map;
|
|
||||||
var records = this._records;
|
var records = this._records;
|
||||||
var oldSeqRecord:KVChangeRecord = this._mapHead;
|
var oldSeqRecord:KVChangeRecord = this._mapHead;
|
||||||
var lastOldSeqRecord:KVChangeRecord = null;
|
var lastOldSeqRecord:KVChangeRecord = null;
|
||||||
|
|
|
@ -49,12 +49,10 @@ export class CompilerCache {
|
||||||
* the CompilePipeline and the CompileSteps.
|
* the CompilePipeline and the CompileSteps.
|
||||||
*/
|
*/
|
||||||
export class Compiler {
|
export class Compiler {
|
||||||
_templateLoader:TemplateLoader;
|
|
||||||
_reader: DirectiveMetadataReader;
|
_reader: DirectiveMetadataReader;
|
||||||
_parser:Parser;
|
_parser:Parser;
|
||||||
_compilerCache:CompilerCache;
|
_compilerCache:CompilerCache;
|
||||||
constructor(templateLoader:TemplateLoader, reader: DirectiveMetadataReader, parser:Parser, cache:CompilerCache) {
|
constructor(templateLoader:TemplateLoader, reader: DirectiveMetadataReader, parser:Parser, cache:CompilerCache) {
|
||||||
this._templateLoader = templateLoader;
|
|
||||||
this._reader = reader;
|
this._reader = reader;
|
||||||
this._parser = parser;
|
this._parser = parser;
|
||||||
this._compilerCache = cache;
|
this._compilerCache = cache;
|
||||||
|
|
|
@ -46,13 +46,11 @@ class TreeNode {
|
||||||
_head:TreeNode;
|
_head:TreeNode;
|
||||||
_tail:TreeNode;
|
_tail:TreeNode;
|
||||||
_next:TreeNode;
|
_next:TreeNode;
|
||||||
_prev:TreeNode;
|
|
||||||
constructor(parent:TreeNode) {
|
constructor(parent:TreeNode) {
|
||||||
this._parent = parent;
|
this._parent = parent;
|
||||||
this._head = null;
|
this._head = null;
|
||||||
this._tail = null;
|
this._tail = null;
|
||||||
this._next = null;
|
this._next = null;
|
||||||
this._prev = null;
|
|
||||||
if (isPresent(parent)) parent._addChild(this);
|
if (isPresent(parent)) parent._addChild(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +60,6 @@ class TreeNode {
|
||||||
_addChild(child:TreeNode) {
|
_addChild(child:TreeNode) {
|
||||||
if (isPresent(this._tail)) {
|
if (isPresent(this._tail)) {
|
||||||
this._tail._next = child;
|
this._tail._next = child;
|
||||||
child._prev = this._tail;
|
|
||||||
this._tail = child;
|
this._tail = child;
|
||||||
} else {
|
} else {
|
||||||
this._tail = this._head = child;
|
this._tail = this._head = child;
|
||||||
|
@ -290,7 +287,6 @@ export class ElementInjector extends TreeNode {
|
||||||
_obj7:any;
|
_obj7:any;
|
||||||
_obj8:any;
|
_obj8:any;
|
||||||
_obj9:any;
|
_obj9:any;
|
||||||
_view:View;
|
|
||||||
_preBuiltObjects;
|
_preBuiltObjects;
|
||||||
_constructionCounter;
|
_constructionCounter;
|
||||||
_eventCallbacks;
|
_eventCallbacks;
|
||||||
|
|
|
@ -12,14 +12,12 @@ export class CompileControl {
|
||||||
_steps:List<CompileStep>;
|
_steps:List<CompileStep>;
|
||||||
_currentStepIndex:number;
|
_currentStepIndex:number;
|
||||||
_parent:CompileElement;
|
_parent:CompileElement;
|
||||||
_current:CompileElement;
|
|
||||||
_results;
|
_results;
|
||||||
_additionalChildren;
|
_additionalChildren;
|
||||||
constructor(steps) {
|
constructor(steps) {
|
||||||
this._steps = steps;
|
this._steps = steps;
|
||||||
this._currentStepIndex = 0;
|
this._currentStepIndex = 0;
|
||||||
this._parent = null;
|
this._parent = null;
|
||||||
this._current = null;
|
|
||||||
this._results = null;
|
this._results = null;
|
||||||
this._additionalChildren = null;
|
this._additionalChildren = null;
|
||||||
}
|
}
|
||||||
|
@ -33,7 +31,6 @@ export class CompileControl {
|
||||||
for (var i=startStepIndex; i<this._steps.length; i++) {
|
for (var i=startStepIndex; i<this._steps.length; i++) {
|
||||||
var step = this._steps[i];
|
var step = this._steps[i];
|
||||||
this._parent = parent;
|
this._parent = parent;
|
||||||
this._current = current;
|
|
||||||
this._currentStepIndex = i;
|
this._currentStepIndex = i;
|
||||||
step.process(parent, current, this);
|
step.process(parent, current, this);
|
||||||
parent = this._parent;
|
parent = this._parent;
|
||||||
|
|
|
@ -94,7 +94,6 @@ export class CssSelector {
|
||||||
* are contained in a given CssSelector.
|
* are contained in a given CssSelector.
|
||||||
*/
|
*/
|
||||||
export class SelectorMatcher {
|
export class SelectorMatcher {
|
||||||
_selectables:List;
|
|
||||||
_elementMap:Map;
|
_elementMap:Map;
|
||||||
_elementPartialMap:Map;
|
_elementPartialMap:Map;
|
||||||
_classMap:Map;
|
_classMap:Map;
|
||||||
|
@ -102,8 +101,6 @@ export class SelectorMatcher {
|
||||||
_attrValueMap:Map;
|
_attrValueMap:Map;
|
||||||
_attrValuePartialMap:Map;
|
_attrValuePartialMap:Map;
|
||||||
constructor() {
|
constructor() {
|
||||||
this._selectables = ListWrapper.create();
|
|
||||||
|
|
||||||
this._elementMap = MapWrapper.create();
|
this._elementMap = MapWrapper.create();
|
||||||
this._elementPartialMap = MapWrapper.create();
|
this._elementPartialMap = MapWrapper.create();
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,6 @@ class IntermediateContent extends ContentStrategy {
|
||||||
selector: 'content'
|
selector: 'content'
|
||||||
})
|
})
|
||||||
export class Content {
|
export class Content {
|
||||||
_element:Element;
|
|
||||||
select:string;
|
select:string;
|
||||||
_strategy:ContentStrategy;
|
_strategy:ContentStrategy;
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ export class ViewPort {
|
||||||
templateElement: Element;
|
templateElement: Element;
|
||||||
defaultProtoView: ProtoView;
|
defaultProtoView: ProtoView;
|
||||||
_views: List<View>;
|
_views: List<View>;
|
||||||
_viewLastNode: List<Node>;
|
|
||||||
_lightDom: any;
|
_lightDom: any;
|
||||||
elementInjector: ElementInjector;
|
elementInjector: ElementInjector;
|
||||||
appInjector: Injector;
|
appInjector: Injector;
|
||||||
|
|
Loading…
Reference in New Issue