ease.js 0.2.5 版本发布,GNU ease.js是一个经典的JavaScript面向对象的框架,旨在消除样板代码和简化从其他面向对象语言转换成JavaScript。 该版本与 0.2.4 版本之间的差异包括: Changes between 0.2.4 and 0.2.5: - [doc] Manual has been updated to reflect an implementation detail that causes `this.__super` to remain in scope after a call to a private method. - This is not a bug, but is undefined behavior. Trait support is currently under development and will be undocumented until v0.3.0; it is included currently as a preview and is functional and comprehensively tested, but is incomplete. For a list of outstanding tasks, see `README.traits`. * [preview] Traits may now "extend" classes. - Extending a class C denotes compatibility with C's interface: the trait may then only be mixed into C or its subtypes. - Extending traits is not yet supported, but will be in the next release. - Releated test cases: - test/Trait/{Abstract,ClassExtend}Test.js - [preview] Staging object returned by `#use` calls---representing an eventual mixin---now statisfy the `Class.isClass` predicate. ease.js 0.2.5 版本发布,JavaScript 面向对象框架下载地址