JavaScript 面向對象框架,ease.js 0.2.7 版本發布
GNU ease.js是一個經典的JavaScript面向對象的框架,旨在消除樣板代碼和簡化從其他面向對象語言轉換成JavaScript。
特性包括:
簡單而直觀的類定義
經典繼承
抽象類和方法
接口
訪問修飾符(public,protected和private)
靜態和常量成員
GNU ease.js是一個框架,不是一個編譯器。
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.</pre>
更多內容請看這里:https://www.gnu.org/software/easejs/
來自:http://www.oschina.net/news/68786/ease-js-0-2-7
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!