I love the sugar API of RequireJS. It’s elegant, clean and nearly identical to CommonJS. However, the examples often fail to demonstrate how to use it from a main.js file which does a require call, rather than a define. Doing something like this is quite useful, particularly when your config object is not a require call in itself: (function(config, require,… Read more →
Archives by date
You are browsing the site archives by date.