发布于 2016-08-02 00:26:44 | 94 次阅读 | 评论: 0 | 来源: 网友投递
这里有新鲜出炉的Ember.JS中文指南,程序狗速度看过来!
Ember JavaScript的MVC框架
Ember.js是一个JavaScript的MVC框架,它由Apple前雇员创建的SproutCore 2.0改名进化而来
Ember.js 2.8.0-beta.2 和 v2.9.0-alpha.2 发布了。
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").
下载地址: