发布于 2015-12-08 08:59:29 | 116 次阅读 | 评论: 0 | 来源: 网友投递
ease.js JavaScript面向对象的框架
GNU ease.js是一个经典的JavaScript面向对象的框架,旨在消除样板代码和简化从其他面向对象语言转换成JavaScript。
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是一个框架,不是一个编译器。