红联Linux门户
Linux帮助

ease.js 0.2.7版本发布,JavaScript面向对象框架

发布时间:2015-12-09 09:28:40来源:红联作者:empast
ease.js 0.2.7 版本发布,此版本相比 0.2.6 版本改进如下:

* ES6-style constructor method supported.
- Directly invoking the easejs object with a constructor will now perform
the equivalent of a Class.extend( ctor, {} ).
- Documentation now compiles with Texinfo 5.2.

* [preview] Traits can now override public and protected methods of class
supertypes.
- [preview] Error now provided when attempting to declare a mixin that is
not a trait.

更多内容请看这里:https://www.gnu.org/software/easejs/

GNU ease.js是一个经典的JavaScript面向对象的框架,旨在消除样板代码和简化从其他面向对象语言转换成JavaScript。
特性包括:

简单而直观的类定义
经典继承
抽象类和方法
接口
访问修饰符(public,protected和private)
静态和常量成员

GNU ease.js是一个框架,不是一个编译器。

下载地址:https://www.gnu.org/software/easejs/download.html

来自:开源中国社区
文章评论

共有 0 条评论