ifandelse/infuser — pull request #3 by badunk (2013-02-22 09:23:22+00:00)
Title: Fixed AMD Wrapper + Closer node.js build integration

Previously, even if one were to use infuser through an AMD loader, it would not load properly if jQuery was not already present in the global namespace. There are many references in the code expecting both jQuery and trafficCop to already exist globally which defeats the purpose of AMD.

I have added an alternate way to load infuser through AMD. It now properly pulls jquery and trafficCop as dependencies. If infuser is loaded without AMD, the behavior should be the same as before.

To integrate the development process better with node.js, I got rid of the Anvil build dependencies and remade it with the more popular Grunt 0.4.x. I've kept the output directories/filenames the same.

Users now just have to do `npm install` to fetch all development dependencies. `npm test` will execute the express snippet you had.

Building the project is now just `grunt build`.