Firefox 135.0 发布
Marionette 3.0.0-pre.5 发布了,Backbone.Marionette 是 backbone” target=”_blank”>Backbone.js 的一个组合应用库,简化了大规模 JavaScript 应用的开发。包含一组常用的设计模式。
更新内容:
文档:
- Improved installation docs.
- Updated
CollectionView
docs to reflect API changes. - Improved
Behavior
docs. - Improved functions docs.
- Improved update guide.
- Added “basics” docs.
API 更新:
emptyView
now accepts a function as an arg.- Removed the
apply:filter
event fromCollectionView
. removeChildView
now returns the removed view.bindEntityEvents
renamedbindEvents
.- Deprecated Behavior Lookups.
- Added Backbone.Babysitter to Mn and removed the Babysitter dependency.
Bug fixes
CollectionView
now only triggersdestroy:children
if it has been rendered.- Parent views will now successfully listen for
destroy
inchildViewEvents
.
Misc
- Replaced
var
andlet
withconst
. - Added consistent function declarations and added rules to eslint.
- Tweaked peerDependencies to only allow patch versions.
- Directory structure changes and file naming consistency.
- Improved test coverage.
- Removed bundled build.