aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-06-21 11:00:42 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:12:47 +0100
commitd15f8cb06f8d45e9bdaf28cf861f2f14d23ef968 (patch)
tree68d22601d2d71736b53a95652d40bbaef019ae4e /src/index.js
parent6f85d8e888c85b62ae1ab1dd57c26257da48b173 (diff)
FUNCT Basic support to launch apps
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 7ffa614..007f72f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,11 @@
/* JS */
import '@iconfu/svg-inject';
import './js/AFB.js';
-import './js/app.js';
+import { init, launch } from './js/app.js';
/* CSS */
import './styles/app.scss';
+
+window.launch = launch;
+
+document.addEventListener('DOMContentLoaded', init); \ No newline at end of file