CoffeeScript Practice

Installation

$ npm install -g coffee-script

Compile on browser

<script src="http://coffeescript.org/extras/coffee-script.js"></script>
<script src="script.coffee" type="text/coffeescript"></script>

Compile on terminal

$ coffee -c script.coffee

Live Preview on Vim

Add to .vimrc:

NeoBundle 'kchmck/vim-coffee-script'

and type on vim: :CoffeeWatch vert