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 更新日志地址 下载地址 Source code (zip) Source code (tar.gz) Marionette v3.4.0 发布,Backbone.js 组合框架下载地址