Extending basketjs to load scripts dynamically based on custom data attribute.
- Make sure you include the
rsvp.js
andbasket.js
or just usegerobak.full.min.js
. - Put
gerobak-load="your/dir/to/script.js"
anywhere on your document. - Done. Gerobak will automatically read and load it for you. Simple isn't it? Enjoy and keep async! :)
- clone this repo
npm install && bower install
grunt
- check the test folder and
lib/gerobak.js