coffee-script-nightly
v1.7.0-nightly.0CoffeeScript Nightly
npm install --save coffee-script-nightly
Changes from jashkenas/master
- Power operator
**
, true mathematical modulo%%
, integer division//
from #2887- removes
//
as empty regexp
- removes
- Generators via
-->
and==>
, yield support,yield from
as JSyield*
from #3316 - Expansion in array destructuring
[.., last] = array
from #3268
Changes from 1.6.3
require('coffee-script')
doesn't auto register CoffeeScript file extensions, instead userequire 'coffee-script/register'
. Same goes for Mocha or gulp.- updated source maps syntax
- chaining syntax
$ 'p' .css activeCss 'p' .show()
- multiline literal strings
"Will be joined by a space."
README
CoffeeScript is a little language that compiles into JavaScript.
Install Node.js, and then the CoffeeScript compiler: sudo bin/cake install
Or, if you have the Node Package Manager installed: npm install -g coffee-script (Leave off the -g if you don't wish to install globally.)
Execute a script: coffee /path/to/script.coffee
Compile a script: coffee -c /path/to/script.coffee
For documentation, usage, and examples, see: http://coffeescript.org/
To suggest a feature, report a bug, or general discussion: http://github.com/jashkenas/coffee-script/issues/
If you'd like to chat, drop by #coffeescript on Freenode IRC, or on webchat.freenode.net.
The source repository: git://github.com/jashkenas/coffee-script.git
Top 100 contributors are listed here: http://github.com/jashkenas/coffee-script/contributors
Source Code
github.com/xixixao/coffee-sc...Metadata
- MIT
- >=0.8.0
- Jeremy Ashkenas
- released 1/21/2014