feat(Compiler): Make Compiler.buildRenderDirective() static.
This commit is contained in:
parent
56f3429cc9
commit
a00cb1de50
|
@ -200,11 +200,11 @@ export class Compiler {
|
||||||
componentId: stringify(component),
|
componentId: stringify(component),
|
||||||
absUrl: templateAbsUrl,
|
absUrl: templateAbsUrl,
|
||||||
template: view.template,
|
template: view.template,
|
||||||
directives: ListWrapper.map(directives, this._buildRenderDirective)
|
directives: ListWrapper.map(directives, Compiler.buildRenderDirective)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
_buildRenderDirective(directiveBinding) {
|
static buildRenderDirective(directiveBinding) {
|
||||||
var ann = directiveBinding.annotation;
|
var ann = directiveBinding.annotation;
|
||||||
var renderType;
|
var renderType;
|
||||||
var compileChildren = true;
|
var compileChildren = true;
|
||||||
|
|
Loading…
Reference in New Issue