views/mdc/assets/js/components/initialize.js in voom-presenters-0.1.1 vs views/mdc/assets/js/components/initialize.js in voom-presenters-0.1.2
- old
+ new
@@ -10,10 +10,11 @@
import {initCards} from './cards';
import {initForms} from './forms';
import {initSnackbar} from './snackbar';
import {initCheckboxes} from './checkboxes';
import {initDateTime} from './date-time';
+import {initSwitches} from './switches';
export function initialize(){
console.log('Initializing');
initButtons();
initDialogs();
@@ -26,9 +27,10 @@
initCards();
initForms();
initSnackbar();
initCheckboxes();
initDateTime();
+ initSwitches();
// This needs to be last, because it relies on the components installed above.
initEvents();
// componentHandler.upgradeAllRegistered();
}