yeoman/grunt-bower-hooks — pull request #7 by iammerrick (2013-02-18 22:33:48+00:00)
Title: Switch Regular Expression for r.js Parsing

I extracted the necessary files from the r.js project to modify configuration. Because the r.js project is written in AMD, I had to introduce two new dependencies to this project but in turn got rid of two dependencies. :-)

I removed indent because the r.js parsing infers it from the file.

The only modifications to rjs files was adding the amd define so we could require them in our Node.js driven script. This is at the top of each of those files.

I added a new test case to show that it works with the global style configuration approach as well as the traditional style.

I think this is more useful than what is in place. Ideally @jrburke introduces an API we can consume and we won't have to awkwardly bring in the necessary files.