这里下载JS.Class2.1发布Ruby风格的JavaScript—最新资源、最热资源、资源官方下载站

下载排行|最近更新

关键词
当前位置:首页 → 框架代码 → 其它框架 → JS.Class2.1发布Ruby风格的JavaScript
JS.Class2.1发布Ruby风格的JavaScript

JS.Class2.1发布Ruby风格的JavaScript

下载地址
  • 软件介绍
  • 软件截图
  • 猜你喜欢
  • 同类推荐
  • 相关文章
JS.Class2.1发布Ruby风格的JavaScriptJames Coglan不久前更新了JS.Class,发布了 JS.Class 2.1版本,使用JavaScript实现了Ruby的对象系统。var Event = new JS.Class({ include: JS.Observable, fire: function(data) { this.notifyObservers('fire', data); } });JS.Class is designed to make JavaScript behave like Ruby in terms of its OOP structures. To this end, it provides the following features: Classes and modules with Ruby-compatible inheritance Subclassing and mixins Late-binding arguments-optional super calls to parent classes and mixins Singleton methods and eigenclasses included, extended and inherited hooks Method binding Ports of various standard Ruby modules, including Enumerable, Hash, Set, Observable, Comparable, Forwardable Its inheritance system supports late-bound super() calls to parent classes and modules, including calls from singleton methods. It has been designed to mimick Ruby as closely as possible, so if you know Ruby you should feel right at home.

展开内容

下载地址

推荐文章

本类排行

  • 周排行
  • 月排行

友情链接 | 关于我们 | 下载帮助(?) | 联系我们 | 投诉举报

CopyRight © 2010-2023 这里下载 heredown.com , All Rights Reserved 版权所有 蒙ICP备2023006002号-1 蒙公网安备15052402000135

声明: 本站所有软件和文章来自互联网 如有异议 请与本站联系

声明: