Quantcast
Channel: OSCHINA 社区最新新闻
Viewing all articles
Browse latest Browse all 44787

Ember.js 2.8.0-beta.2 和 v2.9.0-alpha.2 发布

$
0
0

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").


下载地址:


Viewing all articles
Browse latest Browse all 44787

Trending Articles