cleanup(core): fix dart analyzer warnings
This commit is contained in:
parent
da9d041f90
commit
a37950293a
|
@ -45,7 +45,9 @@ export class ViewSplitter extends CompileStep {
|
|||
if (current.element instanceof TemplateElement) {
|
||||
if (!current.isViewRoot) {
|
||||
var viewRoot = new CompileElement(DOM.createTemplate(''));
|
||||
this._moveChildNodes(current.element.content, viewRoot.element.content);
|
||||
var currentElement:TemplateElement = current.element;
|
||||
var viewRootElement:TemplateElement = viewRoot.element;
|
||||
this._moveChildNodes(currentElement.content, viewRootElement.content);
|
||||
viewRoot.isViewRoot = true;
|
||||
control.addChild(viewRoot);
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ export class View {
|
|||
viewPorts: List<ViewPort>;
|
||||
preBuiltObjects: List<PreBuiltObjects>;
|
||||
proto: ProtoView;
|
||||
context: Object;
|
||||
context: any;
|
||||
contextWithLocals:ContextWithVariableBindings;
|
||||
constructor(proto:ProtoView, nodes:List<Node>, protoRecordRange:ProtoRecordRange, protoContextLocals:Map) {
|
||||
this.proto = proto;
|
||||
|
|
Loading…
Reference in New Issue