fix(examples): Fix type registration in hello_world

Fixing `registerType` call for `Content` in index_static.js.

Closes #991
This commit is contained in:
Tim Blasi 2015-03-17 14:22:47 -07:00 committed by Misko Hevery
parent 153cee1244
commit 014a28fef0
1 changed files with 3 additions and 3 deletions

View File

@ -152,9 +152,9 @@ function setup() {
});
reflector.registerType(Content, {
"factory": (lightDom, el) => new Content(lightDom, el),
"parameters": [[DestinationLightDom], [NgElement]],
"annotations" : [new Decorator({selector: '[content]'})]
"factory": (lightDom, el, selector) => new Content(lightDom, el, selector),
"parameters": [[DestinationLightDom], [NgElement], [String]],
"annotations" : []
});
reflector.registerType(StyleInliner, {