发布于 2016-12-09 00:59:12 | 111 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的CoffeeScript 中文手册,程序狗速度看过来!

CoffeeScript

CoffeeScript是一套JavaScript的转译语言,创建者 Jeremy Ashkenas 戏称它是- JavaScript 的不那么铺张的小兄弟。因为 CoffeeScript 会将类似 Ruby 语法的代码编译成 JavaScript,而且大部分结构都相似,但不同的是 CoffeeScript 拥有更严格的语法。


脚本语言 CoffeeScript 1.12.1 发布了。本次更新如下:

  • 您现在可以导入名为默认的模块成员,例如 import {default} from'lib'。 虽然在 ES2015 中,你不能导入整个模块,并将其命名为默认值(因此不允许从 'lib' 导入默认值)。

  • Fix regression where from as a variable name was breaking for loop declarations. For the record, from is not a reserved word in CoffeeScript; you may use it for variable names. from behaves like a keyword within the context of import and export statements, and in the declaration of a for loop; though you should also be able to use variables named fromin those contexts, and the compiler should be able to tell the difference.

发布说明完整更新内容

下载地址



历史版本 :
CoffeeScript 2.1.1 发布,脚本语言
CoffeeScript 2.1.0 发布,脚本语言
CoffeeScript 1.12.8 发布,脚本语言
CoffeeScript 2.0.0 正式发布,编译成 JS 的小巧语言
CoffeeScript 2.0.0-beta5 发布,编译成 JS 的小巧语言
CoffeeScript 2.0.0-beta2 发布,脚本语言
CoffeeScript 1.12.6 发布,脚本语言
CoffeeScript 2.0.0-alpha1 发布,脚本语言
CoffeeScript 1.12.5 发布,脚本语言
CoffeeScript 1.12.4 发布,脚本语言
CoffeeScript 1.12.3 发布,脚本语言
CoffeeScript 1.12.1 发布,脚本语言
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务