We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04abf26 commit bcf4a96Copy full SHA for bcf4a96
modules/angular2/src/core/compiler/compiler.js
@@ -150,11 +150,10 @@ export class Compiler {
150
// TODO(vicb): union type return ProtoView or Promise<ProtoView>
151
_compileTemplate(template: Template, tplElement, component: Type) {
152
var pipeline = new CompilePipeline(this.createSteps(component, template));
153
- var compilationCtxtDescription = stringify(this._reader.read(component).type);
154
var compileElements;
155
156
try {
157
- compileElements = pipeline.process(tplElement, compilationCtxtDescription);
+ compileElements = pipeline.process(tplElement, stringify(component));
158
} catch(ex) {
159
return PromiseWrapper.reject(ex);
160
}
0 commit comments