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是一个框架,不是一个编译器。 ease.js 0.2.7 版本发布,JavaScript 面向对象框架下载地址