Tag Archives: requireJS

requireJS – got it

Continuing efforts to get more better at modular javascript.  Used requireJS to my Oscillating Dom elements animation.

This set up pulls in jQuery, TweenMax off of a CDN.

The dependency injection appears to work a lot like AngularJS.  I found the docs a little confusing in regards to configuration and just had to play around with it but trying different setups and checking what loaded in Chrome Tools confirmed my set up.

Happy to have this awesome tool in my kit.