Converted jQuery bits into raw JS components

This commit is contained in:
Dan Brown
2017-08-06 21:08:03 +01:00
parent 5e5928a8a6
commit 2a069880cd
23 changed files with 387 additions and 209 deletions

View File

@ -1,6 +1,11 @@
let componentMapping = {
'dropdown': require('./dropdown'),
'overlay': require('./overlay'),
'back-to-top': require('./back-top-top'),
'notification': require('./notification'),
'chapter-toggle': require('./chapter-toggle'),
'expand-toggle': require('./expand-toggle'),
};
window.components = {};