1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Marionette 3.0.0-pre.5 发布,Backbone.js 组合框架 下载

本帖由 漂亮的石头2016-08-08 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,979
    赞:
    47
    Marionette 3.0.0-pre.5 发布了,Backbone.Marionette 是 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 from CollectionView.


    • removeChildView now returns the removed view.


    • bindEntityEvents renamed bindEvents.


    • Deprecated Behavior Lookups.


    • Added Backbone.Babysitter to Mn and removed the Babysitter dependency.

    Bug fixes


    • CollectionView now only triggers destroy:children if it has been rendered.


    • Parent views will now successfully listen for destroy in childViewEvents.

    Misc


    • Replaced var and let with const.


    • 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.
    下载地址:

    Marionette 3.0.0-pre.5 发布,Backbone.js 组合框架下载地址
     
正在加载...