Home > coffeescript-foray

coffeescript-foray

Coffeescript-foray is a project mainly written in CoffeeScript, it's free.

My first attempt to compile some javascript out of coffeescript

CoffeeScript foray


Oh man!!! Coffeescript is so much fun!

This was my first ever .coffee attempt, it literally took me 10 minutes to install it on Ubuntu and get it working on my localhost.

The only hangup I had was not being used to the unique function syntax, which resulted in an error in the javascript file on my first run. I had used

get_weekday (num) ->

And it needed to be

get_weekday = (num) ->

Notice the equals sign!

Previous:rubyca