#RequireJS
These are some examples using RequireJS to load Javascript on demand
These are the basic requirements for your application:
RequireJS v2.1+Gitbower v1.3+node v0.10+grunt-cli v0.1+
Clone the source from github:
git clone https://github.com/zigolis/JSOnDemand.gitGo to
JSOnDemand:cd JSOnDemandDownload dependencies by bower:
bower installInstall the node http-server:
npm i http-server -gStart node server:
http-serverOpen the browser and go to localhost:
127.0.0.1:8080
- Surf through the directories
01&&02with the console opened.
To view the directory
03, first of all you'll need install the dependencies.Go to directory
cd 03and install them:npm iExecute grunt default task:
grunt
To view the directory
04, first of all you'll need install the dependencies.Go to directory
cd 04and install them:npm iExecute grunt default task:
grunt
Made with love by Gabriel Zigolis!