红联Linux门户
Linux帮助

AngularJS v1.2.23/1.3.0 Beta 19发布

发布时间:2014-08-24 09:14:05来源:红联作者:empast
AngularJS v1.2.23 发布了,该版本包含的改进有:

Bug Fixes

$location:

rewrite relative URI correctly if path==='/' in legacy html5Mode (c6e4defc,#8684)

don't call indexOf() of undefined href attribute (74a7afcb,#7721, #8681)

$sanitize: sanitize javascript urls with comments (4f387050,#8274)

Angular: make Date comparison in equals() NaN-aware (98f60372,#8650, #8715)

copy: clear array destinations correctly for non-array sources (888b0f54,#8610, #8702)

input:

use lowercase method to account for undefined type (456026ef)

by default, do not trim input[type=password] values (ebece0bc,#8250, #8230)

linky: handle quotes around email addresses (effc98fd,#8520)

minErr: encode btstrpd error input to strip angle brackets (aaf9c5e5,#8683)

ngHref: remove attribute when empty value instead of ignoring (ed56872b,#2755)

Breaking Changes

input: due to ebece0bc,

前一个版本中 input[type=password] 会自动删除输入内容的空格,必须显式的使用 ng-trim="false" 来禁用该特性,现在 ng-trim 不再作用于 input[type=password]

Closes #8250 Closes #8230

同时发布的还有 AngularJS 1.3.0 Beta 19 版本。

软件详情:https://github.com/angular/angular.js

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

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

共有 0 条评论