2017年11月5日星期日

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


Linuxeden 开源社区 --Marionette
Marionette

Marionette v3.2.0 发布了,Backbone.Marionette 是 Backbone.js 的一个组合应用库,简化了大规模 JavaScript 应用的开发。包含一组常用的设计模式。

本次更新如下:

特性:

  • NextCollectionView‘s filter event now returns the attaching and detached views.
  • unbindEvents and unbindRequests can now be called without handlers to remove all handlers from an entity.

bug 修复:

  • If an event handler on a behavior was undefined it would remove any prior defined handler.
  • When a behavior is destroyed it will now undelegate the behavior events and triggers.
  • When a view was added a performance check on NextCollectionView would sometimes prevent existing views from sorting correctly.
  • NextCollectionView viewFilter will now be called with the same arguments with underscore or lodash.

弃用:

  • Multiple handlers for a single event. If needed, use a single handler to call multiple methods.

下载地址:

转自 http://ift.tt/2zgdBdJ

The post Marionette v3.5.0 发布,Backbone.js 组合框架 appeared first on Linuxeden开源社区.

http://ift.tt/2y5QbGP

没有评论:

发表评论