From 447bbce37574bfc1ea14178922ce76bc572890a2 Mon Sep 17 00:00:00 2001 From: nklhrstv Date: Wed, 25 Mar 2020 11:17:16 +0200 Subject: [PATCH] attach core and shell to window --- src/App/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App/App.js b/src/App/App.js index 22a1bb92a..fdbf821f0 100644 --- a/src/App/App.js +++ b/src/App/App.js @@ -24,7 +24,6 @@ const App = () => { }; const onCoreStateChanged = () => { if (services.core.active) { - window.core = services.core; services.core.dispatch({ action: 'Load', args: { @@ -39,6 +38,8 @@ const App = () => { services.keyboardNavigation.start(); services.shell.start(); services.core.start(); + window.shell = services.shell; + window.core = services.core; return () => { services.keyboardNavigation.stop(); services.shell.stop();