February 2015
Intermediate to advanced
232 pages
4h 40m
English
When we defined the RequireJS configuration, we said that the entry point will be the app.js file. The following are the steps to create the app.js file:
app.js file.define([ //LIBRARIES 'bootstrap', 'knockout', 'koAmdHelpers', 'ko.validation', 'icheck', //VIEWMODEL 'viewmodel', //MOCKS 'mocks/product', 'mocks/order', //COMPONENTS 'custom/components', //BINDINGS 'custom/koBindings', //EVENTS 'events/cart' ], function(bs, ko, koValidation, koAmdHelpers, 'iCheck', 'ViewModel) ...
Read now
Unlock full access