RequireJS is an effective way to improve the speed and quality of your JavaScript code additionally making it a lot more readable and easier to maintain.
In this article I’ll introduce you to RequireJS and how you can begin using it. We will go through requiring files and defining a module and even touch on optimization.
In simple terms require.js is a script loader that allows you to slip your JavaScript code into files and modules thus managing the dependencies of each model.
Read the rest of the article on : Webdesigner Depot