Skip to content

Commit 82daeb0

Browse files
committed
fix default export in amd
1 parent 06bd298 commit 82daeb0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ember_debug/vendor/startup-wrapper.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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') {

0 commit comments

Comments
 (0)