Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:19Length:3.6 hours
  • Overview
  • Transcript

2.13 RequireJS

RequireJS is a JavaScript module loader based on the principles of Asynchronous Module definition.

Open up the folder `start` to follow through the video.

Open up the folder `complete` to see the completed integration with requirejs. Run the following command in the terminal:

bower install r.js -o app/build/app.build.js

  1. JavaScript, HTML
  1. RequireJS
  2. Writing Modular JavaScript With AMD, CommonJS & ES Harmony
  3. r.js – requirejs optmiser for production
  4. Example build file
  5. Why Requirejs AMD?
  6. http://net.tutsplus.com/tutorials/javascript-ajax/a-requirejs-backbone-and-bower-starter-template/