From 014a28fef022b4bb60afea8267dd934be45e5b72 Mon Sep 17 00:00:00 2001 From: Tim Blasi Date: Tue, 17 Mar 2015 14:22:47 -0700 Subject: [PATCH] fix(examples): Fix type registration in hello_world Fixing `registerType` call for `Content` in index_static.js. Closes #991 --- modules/examples/src/hello_world/index_static.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/examples/src/hello_world/index_static.js b/modules/examples/src/hello_world/index_static.js index 310b94c3b1..51fecd8f45 100644 --- a/modules/examples/src/hello_world/index_static.js +++ b/modules/examples/src/hello_world/index_static.js @@ -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, {