AngularJS 1.3.0-RC.0 发布下载,代号:sonic-boltification,更新内容如下:
Bug 修复
-
$animate:
-
$browser: detect changes to the browser url that happened in sync (3be00df4,#6976)
-
$compile: use the correct namespace for transcluded svg elements (cb73a37c,#8808, #8816)
-
$location: always resolve relative links in html5mode to
<base>url (22948807,#8492, #8172) -
$parse: properly handle dots at the end of identifiers (8ac90357,#4613, #4912, #8559)
-
Angular: remove duplicate nodeName_ references (a4520a74)
-
currencyFilter: pass through null and undefined values (c2aaddbe,#8605)
-
docs: don't throw exception on the 404 page (550ba01b,#8518)
-
input:
-
ngBindHtml: throw error if interpolation is used in expression (cd21602d,#8824)
-
ngEventDirs: execute
blurandfocusexpression usingscope.$evalAsync(719c747c,#4979, #5945, #8803, #6910, #5402) -
ngModel:
-
ngRepeat: improve errors for duplicate items (0604bb7b)
-
ngSwitch: avoid removing DOM nodes twice within watch operation (c9b0bfec,#8662)
-
numberFilter: pass through null and undefined values (2ae10f67,#8605, #8842)
新特性
-
core:
-
add angular.reloadWithDebugInfo() (41c1b88)
-
-
$animate:
-
$compile:
-
$compile/ngBind: allow disabling binding info (3660fd09)
-
$http: implement mechanism for coalescing calls to $apply in $http (ea6fc6e6,#8736, #7634, #5297)
-
$rootScope: implement $applyAsync to support combining calls to $apply into a single digest. (e94d454b)
-
$templateRequest: introduce the $templateRequest service (a70e2833)
-
filter: allow to define the timezone for formatting dates (4739b1d9)
-
filterFilter: pass index to function predicate (46343c60,#654)
-
input: allow to define the timezone for parsing dates (cc6fc199,#8447)
-
minErr: allow specifying ErrorConstructor in minErr constructor (a6bd4bc8)
-
ngModel: provide validation API functions for sync and async validations (2ae4f40b)
-
ngRoute: alias string as redirectTo property in .otherwise() (3b5d75c0,#7794)
-
testability: add $$testability service (85880a64)
性能提升
-
$compile:
-
nodeName_: simplify the code and reduce the number of DOM calls (5a1a0c96)
Breaking Changes
-
$location: due to 22948807
希望你喜欢,并分享我的工作~带你走近AngularJS系列:
- 带你走近AngularJS - 基本功能介绍 http://www.linuxidc.com/Linux/2014-05/102140.htm
- 带你走近AngularJS - 体验指令实例 http://www.linuxidc.com/Linux/2014-05/102141.htm
- 带你走近AngularJS - 创建自定义指令 http://www.linuxidc.com/Linux/2014-05/102142.htm
如何在 AngularJS 中对控制器进行单元测试 http://www.linuxidc.com/Linux/2013-12/94166.htm
在 AngularJS 应用中通过 JSON 文件来设置状态 http://www.linuxidc.com/Linux/2014-07/104083.htm
AngularJS 之 Factory vs Service vs Provider http://www.linuxidc.com/Linux/2014-05/101475.htm
AngularJS —— 使用 ngResource、RESTful APIs 和 Spring MVC 框架提交数据 http://www.linuxidc.com/Linux/2014-07/104402.htm
AngularJS 的详细介绍:请点这里
AngularJS 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-08/106013.htm
