发布于 2015-09-07 03:01:11 | 119 次阅读 | 评论: 0 | 来源: 网友投递
这里有新鲜出炉的Ember.JS中文指南,程序狗速度看过来!
Ember JavaScript的MVC框架
Ember.js是一个JavaScript的MVC框架,它由Apple前雇员创建的SproutCore 2.0改名进化而来
Ember.js是一个JavaScript的MVC框架,它由Apple前雇员创建的SproutCore 2.0改名进化而来
Ember.js 同时发布了 Ember.js 1.13.10,Ember.js 2.0.2 和 Ember.js 2.1.0 beta3 版本,都是 bug 修复版本,主要改进如下:
Ember.js 1.13.10 改进内容:
#12104 [BUGFIX] Ensure concatenatedProperties
are not stomped.
#12256 [BUGFIX] Ensure concat streams unsubscribe properly. Fixes memory leak with attributes specified within quotes in the template (i.e. <div data-foo="{{somethign}}"></div>
).
#12272 [BUGFIX] Update HTMLBars to fix memory leak when an {{each}}
is inside an {{if}}
.
Ember.js 2.0.2 改进内容:
#12103 [BUGFIX] Fix Ember.isArray export
#12104 [BUGFIX] Ensure concatenatedProperties are not stomped.
#12188 [BUGFIX] Ensure _actions
specified to extend works.
#12208 [BUGFIX] Fix issue with Ember.computed.sort
crashing when it hit a null value.
#12256 [BUGFIX] Ensure concat streams unsubscribe properly. Fixes memory leak with attributes specified within quotes in the template (i.e. <div data-foo="{{somethign}}"></div>
).
#12272 [BUGFIX] Update HTMLBars to fix memory leak when using an {{each}}
inside of an {{if}}
.
Ember.js 2.1.0 beta 3 改进内容:
#12157 [DEPRECATION] Allow deprecated access to registry from Application
(argument to initializers) and ApplicationInstance
(argument to instance initializers) instances.
#12156 [BUGFIX] Add helpful error message when providing incorrect arguments to Ember.computed
.
#12253 [BUGFIX] Remove initializer causing errors during App.reset
.
#12272 [BUGFIX] Update HTMLBars to fix memory leak when an {{each}}
is inside an {{if}}
.
#12184 [BUGFIX] Prevent classNames
from being duplicated.
#12198 [BUGFIX] Further cleanup of the link-to
component, allow for extending {{link-to}}
via Ember.LinkComponent.extend
.
#12208 [BUGFIX] Ember.computed.sort was crashing when it hit a null value. Fixes #12207.
#12188 [BUGFIX] Ensure _actions
specified to extend works.
#12241 [BUGFIX] Provide a helpful error for undefined closure actions.
#12256 [BUGFIX] Ensure concat streams unsubscribe properly.
#12262 [BUGFIX] Breaks circular references in rejected jqXhr promises
#12297 / #12299 [BUGFIX] Remove extra work per component on initial render.
下载: