fix(examples): Fix type registration in hello_world
Fixing `registerType` call for `Content` in index_static.js. Closes #991
This commit is contained in:
parent
153cee1244
commit
014a28fef0
|
@ -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, {
|
||||
|
|
Loading…
Reference in New Issue