I start like I usually do in javascript, so:
$(document).ready ->
but when I save I get a document is not defined. So far I haven't been able to find how to make it work.
Edit: by save, I meant I was using coffee -w. The error was due to me forgetting to use the -c option.