红联Linux门户
Linux帮助

AngularJS v1.2.26/1.3.0 RC4发布

发布时间:2014-10-02 21:35:26来源:红联作者:empast
AngularJS 今天发布两个更新版本,分别是 1.2.26 和 1.3 的第四个 RC 版本。

其中 1.3.0 RC4 的改进内容包括:

Bug Fixes

$compile:

get $$observe listeners array as own property (a27d827c,#9343, #9345)

Resolve leak with asynchronous compilation (6303c3dc,#9199, #9079, #8504, #9197)

connect transclude scopes to their containing scope to prevent memory leaks (fb0c77f0,#9095, #9281)

sanitize srcset attribute (ab80cd90)

input:

register builtin parsers/formatters before anyone else (10644432,#9218, #9358)

correctly handle invalid model values for input[date/time/…](a0bfdd0d,#8949, #9375)

ngModel: do not parse undefined viewValue when validating (92f05e5a,#9106, #9260)

ngView: use animation promises ensure that only one leave animation occurs at a time (3624e380,#9355, #7606, #9374)

select: make ctrl.hasOption method consistent (2bcd02dc,#8761)

Features

$compile: optionally get controllers from ancestors only (07e3abc7,#4518, #4540, #8240, #8511)

Scope: allow the parent of a new scope to be specified on creation (6417a3e9)

Performance Improvements

$rootScope: moving internal queues out of the Scope instances (b1192518,#9071)

benchmark: add ngBindOnce benchmarks to largetable-bp (2c8b4648)

ngForm,ngModel: move initial addClass to the compile phase (b1ee5386,#8268)

Breaking Changes

$compile: due to fb0c77f0,

而 1.2.26 版本主要是 bug 修复:

$compile: Resolve leak with asynchronous compilation (5c9c1973,#9199, #9079, #8504, #9197)

select: make ctrl.hasOption method consistent (11d2242d,#8761)

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

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

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

共有 0 条评论