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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s