Marionette v3.2.0 发布了,Backbone.Marionette 是 Backbone.js 的一个组合应用库,简化了大规模 JavaScript 应用的开发。包含一组常用的设计模式。
本次更新如下:
特性
Separate Mn DOM interaction into a mixin for DOM plugin ease
View.childViewEvents should support trigger
View.childViewEvents
trigger
Allow showing a template or static string in a region
Feature/trigger method event args
修复
Custom CollectionView.viewComparator no longer sorts collection.models
CollectionView.viewComparator
collection.models
CollectionView re-indexes correctly when removing views.
CollectionView
CollectionView.filter can filter by View child index
CollectionView.filter
View
Region will no longer detach pre-existing HTML when View's el is already in the region
Region
Fix Region clean up when View is destroyed
destroy
Destroy CollectionView.children by View and not Model
CollectionView.children
Model
其他
Remove MarionetteError "ViewDestroyError" from View's
MarionetteError
GitHub 发布主页和更新日志
下载地址:
Source code (zip)
Source code (tar.gz)
评论删除后,数据将无法恢复
Marionette v3.2.0 发布,Backbone.js 组合框架
Marionette v3.2.0 发布了,Backbone.Marionette 是 Backbone.js 的一个组合应用库,简化了大规模 JavaScript 应用的开发。包含一组常用的设计模式。
本次更新如下:
特性
Separate Mn DOM interaction into a mixin for DOM plugin ease
View.childViewEventsshould supporttriggerAllow showing a template or static string in a region
Feature/trigger method event args
修复
Custom
CollectionView.viewComparatorno longer sortscollection.modelsCollectionViewre-indexes correctly when removing views.CollectionView.filtercan filter byViewchild indexRegionwill no longer detach pre-existing HTML whenView's el is already in the regionFix
Regionclean up whenViewisdestroyedDestroy
CollectionView.childrenbyViewand notModel其他
Remove
MarionetteError"ViewDestroyError" fromView'sGitHub 发布主页和更新日志
下载地址:
Source code (zip)
Source code (tar.gz)