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

新闻 Ember.js 2.8.0-beta.2 和 v2.9.0-alpha.2 发布 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,974
    赞:
    47
    Ember.js 2.8.0-beta.2 和 v2.9.0-alpha.2 发布了。Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。

    Ember.js 2.8.0-beta.2 更新内容:


    • #13887 [BUGFIX] Add assertions for illegal component invocations.


    • #13892 [CLEANUP] Remove View#createElement / View#destroyElement.


    • #13895 [BUGFIX] Fix template meta lookup for nested tagless and blockless components.


    • #13911 [BUGFIX] Avoid using clobbering .env property on components.


    • #13913 [BUGFIX] Disallow paths beginning with @ in templates.


    • #13920 [BUGFIX] Add more info to the Ember.Binding deprecation.

    下载地址:


    Ember.js v2.9.0-alpha.2 主要更新内容,完整更新见 #13949



    • #13946: Re-rendering a component manually (i.e. calling this.rerender()) no longer forces everything in its subtree to recompute. Notably, helpers like {{unbound}} are not updated when re-rendering.


    • #13947: The willRender lifecycle hook will be called on a component whenever anything in its subtree has changed.


    • #13948: "Backtracking re-render" is now an error in development mode, and will not work in production builds.


    • {{#each-in}} updates automatically when values are added to the object using Ember.set.


    • "Tagless" components (components with tagName set to an empty string) used to ignore anyid attribute, which unintentionally allowed users to repurpose it for their own uses. This is now a hard error ("You cannot use elementId on a tag-less component").



    下载地址:

    Ember.js 2.8.0-beta.2 和 v2.9.0-alpha.2 发布下载地址
     
正在加载...