红联Linux门户
Linux帮助

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

发布时间:2017-02-22 09:11:41来源:红联作者:baihuo
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

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 destroyed

Destroy CollectionView.children by View and not Model

其他

Remove MarionetteError "ViewDestroyError" from View's

软件详情:https://github.com/marionettejs/backbone.marionette/releases/tag/v3.2.0

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

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

共有 0 条评论