红联Linux门户
Linux帮助

Marionette v3.4.0发布,Backbone.js组合框架

发布时间:2017-08-06 09:27:32来源:红联作者:baihuo
Marionette v3.4.0 发布了,Backbone.Marionette 是 Backbone.js 的一个组合应用库,简化了大规模 JavaScript 应用的开发。包含一组常用的设计模式。

v3.4.0 查看提交日志

特性

A new build of Marionette supporting ES6 modules was added

Added DOM API to encapsulate DOM interactions in the views and region

monitorViewEvents was added as an option to all Views to disable DOM lifecycle events

Added swapChildViews to NextCollectionView

Added viewComparator: false option to NextCollectionView for disabling the default sort

实验性 API 的重大变更

DOM Mixin was removed (replaced with DOM API)

NextCollectionView attachHtml no longer receives the view as the first argument

修复

A region's currentView will now be set during that view's initial dom:refresh event

A view will now be considered rendered if its el has contents and not only if it has an el

Misc

While Backbone.Radio is still a dependency, it will no longer cause Marionette to error if nonexistent

Various performance improvements

软件详情:https://github.com/marionettejs/backbone.marionette/blob/master/changelog.md

下载地址:https://github.com/marionettejs/backbone.marionette/archive/v3.4.0.zip

来自:开源中国社区
文章评论

共有 0 条评论