feat(Compiler): Make Compiler.buildRenderDirective() static.

This commit is contained in:
Konstantin Shcheglov 2015-04-16 10:23:46 -07:00 committed by Yegor Jbanov
parent 56f3429cc9
commit a00cb1de50
1 changed files with 2 additions and 2 deletions

View File

@ -200,11 +200,11 @@ export class Compiler {
componentId: stringify(component),
absUrl: templateAbsUrl,
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 renderType;
var compileChildren = true;