jpgcode/gulp-starterkit

Update controller.js logic to initialise the ES6 classes

Closed this issue · 1 comments

Controller.js actually look for elements with data-attributes in the page to initialise automatically the JS related. Since we are using ES6 classes, we need to change the logic to instantiate the component class.

This has been fixed in 8008c94