Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Partly contributed by Jack Franklin
RequireJS is a popular script loader written by James Burke, a developer who has been quite instrumental in helping shape the AMD module format, which we’ll discuss shortly. Among other things, RequireJS helps you to load multiple script files, define modules with or without dependencies, and load in nonscript dependencies such as text files.
You might be thinking that there is little benefit to RequireJS.
After all, you can simply load in your JavaScript files through multiple
<script> tags, which is very
straightforward. However, doing it that way has a lot of drawbacks,
including increasing the HTTP overhead.