Skip to content

Commit 151018d

Browse files
committed
no multiple registration
1 parent 81ba0f4 commit 151018d

File tree

1 file changed

+3
-0
lines changed
  • packages/@ember/debug/ember-inspector-support

1 file changed

+3
-0
lines changed

packages/@ember/debug/ember-inspector-support/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import Application from '@ember/application';
88
import type ApplicationInstance from '@ember/application/instance';
99

1010
export function setupEmberInspectorSupport() {
11+
if ((window as any).EMBER_INSPECTOR_SUPPORT_BUNDLED) {
12+
return;
13+
}
1114
(window as any).EMBER_INSPECTOR_SUPPORT_BUNDLED = true;
1215
window.addEventListener('ember-inspector-loaded' as any, (event: CustomEvent) => {
1316
const adapter = event.detail.adapter;

0 commit comments

Comments
 (0)