发布于 2016-08-08 23:51:48 | 86 次阅读 | 评论: 0 | 来源: 网友投递
这里有新鲜出炉的Ember.JS中文指南,程序狗速度看过来!
Ember JavaScript的MVC框架
Ember.js是一个JavaScript的MVC框架,它由Apple前雇员创建的SproutCore 2.0改名进化而来
Ember.js v2.9.0-alpha.3 发布了,
该版本主要改进:
#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 any id
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").
下载地址: