I figured out what the root.CoffeeScript = CoffeeScript line of code that I was talking about in #155 does. It's used to make the 'test:browser' task (at the very bottom of Cakefile) work, right? So I guess the solution is to test whether CoffeeScript is defined before running that line of code, since with AMD systems like RequireJS the browserify code will never set the CoffeeScript global, causing the ReferenceError to occur on that line.
I figured out what the
root.CoffeeScript = CoffeeScript
line of code that I was talking about in #155 does. It's used to make the 'test:browser' task (at the very bottom of Cakefile) work, right? So I guess the solution is to test whetherCoffeeScript
is defined before running that line of code, since with AMD systems like RequireJS the browserify code will never set theCoffeeScript
global, causing the ReferenceError to occur on that line.