File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ var EMBER_VERSIONS_SUPPORTED = {{EMBER_VERSIONS_SUPPORTED}};
5555 } ) ;
5656
5757 let emberDebugMainModule = requireModule ( 'ember-debug/main' ) ;
58- if ( ! emberDebugMainModule [ 'default' ] ) {
58+ if ( ! emberDebugMainModule ) {
5959 return ;
6060 }
61- window . EmberInspector = emberDebugMainModule [ 'default' ] ;
62- window . EmberInspector . Adapter = requireModule ( 'ember-debug/adapters/ ' + adapter ) [ 'default' ] ;
61+ window . EmberInspector = emberDebugMainModule ;
62+ window . EmberInspector . Adapter = requireModule ( 'ember-debug/' + adapter ) ;
6363
6464 onApplicationStart ( function appStarted ( instance ) {
6565 let app = instance . application ;
@@ -146,7 +146,7 @@ var EMBER_VERSIONS_SUPPORTED = {{EMBER_VERSIONS_SUPPORTED}};
146146 return ;
147147 }
148148
149- const adapterInstance = new ( requireModule ( 'ember-debug/adapters/ ' + currentAdapter ) [ 'default' ] ) ;
149+ const adapterInstance = new ( requireModule ( 'ember-debug/' + currentAdapter ) ) ;
150150
151151 adapterInstance . onMessageReceived ( function ( message ) {
152152 if ( message . type === 'app-picker-loaded' ) {
You can’t perform that action at this time.
0 commit comments