mauricemach/coffeekup — pull request #94 by samcday (2011-11-05 11:22:12+00:00)
Title: Added AMD support.

Hi,

This patch enabled AMD loading of CoffeeKup in the browser. I've tested these changes using RequireJS and standard script tag loading in the browser.

I set the dependency on CoffeeScript to use the tag "coffee-script", since the coffee-script browser distributable js file is named this way.

It's probably best not to land this patch until/unless jashkenas/coffee-script#1826 is merged. Either that or explain to people that they'll need to write a AMD shim for CoffeeScript in order for CoffeeKup AMD loading to work properly.

Cheers!