CoffeeScript browser compile works inline

Decided to spend an hour or two trying to get my WebGL Lessons in CoffeeScript working, but I still couldn’t figure out why it refused to compile in the browser as a separate .coffee file.  I had specified the text/coffescript type on the script tag and the mimetype on the server side.

Very stumped, very frustrated and just gave up by putting the content into the script tag within the html file.  It seems to like that much better – it works.

Now, to move onto lesson 2.

Advertisements