转载

Backbone.js 1.2.1 发布,JavaScript 的 MVC 框架

6月14日上海 OSC 源创会开始报名,送机械键盘和开源无码内裤

Backbone.js 1.2.1 发布,此版本更新内容如下:

  • Collection#add now avoids trying to parse a model instance when passing parse: true .

  • Bug fix in Collection#remove .

  • Model#fetch no longer parses the response when passing patch: false .

  • Bug fix for iframe-based History when used with JSDOM.

  • Bug fix where Collection#invoke was not taking additional arguments.

  • When using on with an event map, you can now pass the context as the second argument.  This was previously an undocumented behavior from 1.1.2 removed in 1.2.0.

此版本现已提供下载: https://github.com/jashkenas/backbone/archive/1.2.1.zip 。

Backbone.js 是一种重量级javascript  MVC 应用框架,通过Models进行key-value绑定及custom事件处理,通过Collections提供一套丰富的API用于枚举功能,通过 Views来进行事件处理及与现有的Application通过RESTful JSON接口进行交互.

比较适合于现在的类Twitter web2.0网站的开发!

正文到此结束
Loading...