File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,6 @@ class InElementSupportProvider {
1717 this . remoteRoots = [ ] ;
1818 this . runtime = GlimmerRuntime ;
1919 this . reference = GlimmerReference ;
20- try {
21- this . Wormhole = requireModule ( 'ember-wormhole/components/ember-wormhole' ) ;
22- } catch {
23- // nope
24- }
2520
2621 if ( GlimmerManager ) {
2722 GlimmerManager . CustomModifierManager . prototype . getDebugInstance = (
@@ -607,9 +602,11 @@ export default class RenderTree {
607602 this . inElementSupport ?. remoteRoots . push ( node ) ;
608603 }
609604
605+ // EmberWormhole component from ember-wormhole was used to provide
606+ // rendering into a given DOM element prior to built-in in-element.
610607 if (
611- this . inElementSupport ?. Wormhole &&
612- node . instance instanceof this . inElementSupport . Wormhole . default
608+ node . template ===
609+ 'ember-wormhole/templates/components/ember-wormhole.hbs'
613610 ) {
614611 this . inElementSupport ?. remoteRoots . push ( node ) ;
615612 const bounds = node . bounds ;
You can’t perform that action at this time.
0 commit comments