发布于 2017-02-22 00:30:22 | 87 次阅读 | 评论: 0 | 来源: 网友投递
Marionette Backbone.js 组合框架
Backbone.Marionette 是 Backbone.js 的一个组合应用库,简化了大规模 JavaScript 应用的开发。包含一组常用的设计模式。
Marionette v3.2.0 发布了,
本次更新如下:
特性
Separate Mn DOM interaction into a mixin for DOM plugin ease
View.childViewEvents
should support 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
re-indexes correctly when removing views.
CollectionView.filter
can filter by View
child index
Region
will no longer detach pre-existing HTML when View
's el is already in the region
Fix Region
clean up when View
is destroy
ed
Destroy CollectionView.children
by View
and not Model
其他
Remove MarionetteError
"ViewDestroyError" from View
's
下载地址: