红联Linux门户
Linux帮助

AngularJS 1.3.11/1.4.0 Beta2发布

发布时间:2015-01-27 15:19:16来源:红联作者:empast
AngularJS 1.3.11/1.4.0 Beta2 发布,AngularJS 1.3.11 主要是 bug 修复:

$location: don't rewrite when link is shift-clicked (939ca37c,#9904, #9906)

htmlAnchorDirective:

remove "element !== target element" check (779e3f6b,#10866)

don't add event listener if replaced, ignore event if target is different element (837a0775,#4262, #10849)

AngularJS 1.4.0 Beta 2 改进内容如下:

Bug 修复

$location: don't rewrite when link is shift-clicked (8b33de6f,#9904, #9906)

$templateRequest: cache downloaded templates as strings (b3a9bd3a,#10630, #10646)

filterFilter: throw error if input is not an array (cea8e751,#9992, #10352)

htmlAnchorDirective:

remove "element !== target element" check (2958cd30,#10866)

don't add event listener if replaced, ignore event if target is different element (b146af11,#4262, #10849)

ngPluralize: fix wrong text content when count is null/undefined (3228d3b4,#10836, #10841)

重大改进

filterFilter: due to cea8e751, Previously, the filter was not applied if used with a non array. Now, it throws an error. This can be worked around by converting an object to an array, using a filter such as https://github.com/petebacondarwin/angular-toArrayFilter

Closes #9992 Closes #10352

软件详情:http://angularjs.org/

下载地址:https://github.com/angular/angular.js

来自:开源中国社区
文章评论

共有 0 条评论