CoffeeScript 1.8版

[复制链接]
查看11 | 回复1 | 2014-2-19 11:55:14 | 显示全部楼层 |阅读模式
CoffeeScript 1.8 发布啦,现已提供下载,更新内容如下:
The --join option of the CLI is now deprecated.
Source maps now use .js.map as file extension, instead of just .map.
The CLI now exits with the exit code 1 when it fails to write a file to disk.
The compiler no longer crashes on unterminated, single-quoted strings.
Fixed location data for string interpolations, which made source maps out of sync.
The error marker in error messages is now correctly positioned if the code is indented with tabs.
Fixed a slight formatting error in CoffeeScript’s source map-patched stack traces.
The %% operator now coerces its right operand only once.
It is now possible to require CoffeeScript files from Cakefiles without having to register the compiler first.
The CoffeeScript REPL is now exported and can be required using require 'coffee-script/repl'.
Fixes for the REPL in Node 0.11.
CoffeeScript这一门编程语言构建在JavaScript之上,其被编译成高效的JavaScript,这样你就可以在web浏览器上运行它,或是通过诸如用于服务器端应用的Node.js一类的技术来使用它。编译过程通常都很简单,产生出来的JavaScript与许多的最佳做法都保持了一致。

回复

使用道具 举报

千问 | 2014-2-19 11:55:14 | 显示全部楼层
下载:http://coffeescript.org/
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行