jeremyruppel/walrus — pull request #21 by steckel (2012-04-23 15:52:02+00:00)
Title: AMD Support with UMD Pattern

.../umd/blob/master/returnExports.js) for added AMD support

*Looks like running a cake compile added more changes than I originally intended. I can submit another pull-request with an interactive git commit to the walrus.coffee so that you could do the compile on your end if you'd prefer.*

We've been utilizing AMD modules recently for async browser loading so I **added AMD support to walrus.js with the UMD pattern mentioned here: [https://github.com/umdjs/umd/blob/master/returnExports.js](https://github.com/umdjs/umd/blob/master/returnExports.js)**

All the tests pass but, I haven't manually tested anything but walrus.js so far.

Let me know your thoughts. :+1: