attach core and shell to window

This commit is contained in:
nklhrstv 2020-03-25 11:17:16 +02:00
parent 9aa7c15129
commit 447bbce375

View file

@ -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();