What should I do to set coffeescript in Locomotivejs.
It seems very easy, but I couldn't figure that out.
I set options in "all.js", without luck.
I think I'm almost there or very far to get it right. :(
this.set("options",{coffee:true});
Any help is appreciated.
You'll want to add a
server.js
file and boot Locomotive with CoffeeScript support, like so:To start the app:
There's more info in this pull request: https://github.com/jaredhanson/locomotive/pull/44
Support for a --coffee option to the
lcm
command line will be added to an upcoming release.