RequireJS is great, and if you are using or planning on using RequireJS for managing JavaScript then you’ll really notice the benefits.
However one of the trickier parts of RequireJS greatness is finding a way to organise JavaScript modules across multiple pages and on a more granular level, multiple HTML modules on those pages.
This post won’t be an intro to what AMD modules are, or even a RequireJS tutorial, as a basic understanding of AMD and RequireJS is assumed but I will break some of the concepts down where necessary.
Your new post is loading...