Skip to content

Commit a00cb1d

Browse files
scheglovyjbanov
authored andcommitted
feat(Compiler): Make Compiler.buildRenderDirective() static.
1 parent 56f3429 commit a00cb1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/angular2/src/core/compiler/compiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ export class Compiler {
200200
componentId: stringify(component),
201201
absUrl: templateAbsUrl,
202202
template: view.template,
203-
directives: ListWrapper.map(directives, this._buildRenderDirective)
203+
directives: ListWrapper.map(directives, Compiler.buildRenderDirective)
204204
});
205205
}
206206

207-
_buildRenderDirective(directiveBinding) {
207+
static buildRenderDirective(directiveBinding) {
208208
var ann = directiveBinding.annotation;
209209
var renderType;
210210
var compileChildren = true;

0 commit comments

Comments
 (0)