Skip to content

bravocado/gerobak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gerobak.js

Extending basketjs to load scripts dynamically based on custom data attribute.

How to use it

  • Make sure you include the rsvp.js and basket.js or just use gerobak.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! :)

Contributing

  • clone this repo
  • npm install && bower install
  • grunt
  • check the test folder and lib/gerobak.js