diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/index.js b/src/index.js index 37b78c4..4db937f 100644 --- a/src/index.js +++ b/src/index.js @@ -14,15 +14,13 @@ * limitations under the License. */ -/* JS */ -import { init } from './js/app'; -import { increase, decrease, change } from './js/sliders'; - /* CSS */ import './styles/app.scss'; +document.addEventListener('DOMContentLoaded', function(){ + APP.init(); -window.increase = increase; -window.decrease = decrease; -window.change = change; -init();
\ No newline at end of file + KUKSA.init([ + [PATHS.volume, VOLUME], + ], VOLUME.init); +}); |