summaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
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