File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class CoreDomModule extends Module {
67
67
bind (Compiler , toImplementation: TaggingCompiler );
68
68
bind (CompilerConfig );
69
69
70
- bind (ComponentFactory , toImplementation : ShadowDomComponentFactory );
70
+ bind (ComponentFactory , toFactory : (i) => i. getByKey ( SHADOW_DOM_COMPONENT_FACTORY_KEY ) );
71
71
bind (ShadowDomComponentFactory );
72
72
bind (TranscludingComponentFactory );
73
73
bind (Content );
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Key NG_ELEMENT_KEY = new Key(NgElement);
23
23
Key NODE_ATTRS_KEY = new Key (NodeAttrs );
24
24
Key NODE_KEY = new Key (dom.Node );
25
25
Key NODE_TREE_SANITIZER_KEY = new Key (dom.NodeTreeSanitizer );
26
+ Key SHADOW_DOM_COMPONENT_FACTORY_KEY = new Key (ShadowDomComponentFactory );
26
27
Key SHADOW_ROOT_KEY = new Key (dom.ShadowRoot );
27
28
Key TEMPLATE_CACHE_KEY = new Key (TemplateCache );
28
29
Key TEMPLATE_LOADER_KEY = new Key (TemplateLoader );
You can’t perform that action at this time.
0 commit comments