From a00cb1de5019447a34d1b9f6e174ef2214c67cc9 Mon Sep 17 00:00:00 2001 From: Konstantin Shcheglov Date: Thu, 16 Apr 2015 10:23:46 -0700 Subject: [PATCH] feat(Compiler): Make Compiler.buildRenderDirective() static. --- modules/angular2/src/core/compiler/compiler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/angular2/src/core/compiler/compiler.js b/modules/angular2/src/core/compiler/compiler.js index f35c383b7e..eaabf7527b 100644 --- a/modules/angular2/src/core/compiler/compiler.js +++ b/modules/angular2/src/core/compiler/compiler.js @@ -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;