aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/index.js b/src/index.js
index 37b78c4..a022899 100644
--- a/src/index.js
+++ b/src/index.js
@@ -16,13 +16,14 @@
/* JS */
import { init } from './js/app';
-import { increase, decrease, change } from './js/sliders';
/* CSS */
import './styles/app.scss';
+document.addEventListener('DOMContentLoaded', function(){
+ init();
-window.increase = increase;
-window.decrease = decrease;
-window.change = change;
-init(); \ No newline at end of file
+ KUKSA.init([
+ [PATHS.volume, VOLUME],
+ ], VOLUME.init);
+});