This will show that Iced CoffeeScript is loaded fine, but the browser reports the error Uncaught ReferenceError: CoffeeScript is not defined on this line. I made a quick fix, but I'm not sure that that line of code is needed at all anymore. Shouldn't browserify take care of setting the CoffeeScript global?
Example:
index.html:
scripts/main.js:
This will show that Iced CoffeeScript is loaded fine, but the browser reports the error
Uncaught ReferenceError: CoffeeScript is not defined
on this line. I made a quick fix, but I'm not sure that that line of code is needed at all anymore. Shouldn't browserify take care of setting the CoffeeScript global?