红联Linux门户
Linux帮助

AngularJS 1.3.0 RC5发布

发布时间:2014-10-10 09:33:50来源:红联作者:empast
AngularJS 1.3.0 RC5 发布,Angular JS (Angular.JS) 是一组用来开发Web页面的框架、模板以及数据绑定和丰富UI组件。它支持整个开发进程,提供web应用的架构,无需进行手工DOM操作。 AngularJS很小,只有60K,兼容主流浏览器,与 jQuery 配合良好。

该版本改进内容不少,除了 Bug 修复之外还提升了性能,包括:

Bug Fixes

$anchorScroll: don't scroll to top when initializing and location hash is empty (d5445c60,#8848, #9393)

$animate:

ensure hidden elements with ngShow/ngHide stay hidden during animations (39d0b368,#9103, #9493)

permit class-based animations for leave operations if ngAnimateChildren is enabled (df1a00b1,#8092, #9491)

ensure that class-based animations only consider the most recent DOM operations (c93924ed,#8946, #9458)

abort class-based animations if the element is removed during digest (613d0a32,#8796)

clear the GCS cache even when no animation is detected (cb85cbce,#8813)

$browser:

Cache location.href only during page reload phase (8ee1ba4b,#9235, #9455)

don’t use the history API when only the hash changes (7cb01a80,#9423, #9424,858360b6,0656484d,#9143, #9406)

handle async href on url change in <=IE9 (404b95fe,#9235)

$compile:

handle the removal of an interpolated attribute (a75546af,#9236, #9240)

remove comment nodes from templates before asserting single root node (feba0174,#9212, #9215)

use the correct namespace for transcluded svg elements (f3539f3c,#9344, #9415)

$http: honor application/json response header and parse json primitives (7b6c1d08,#2973)

$injector: throw when factory $get method does not return a value (0d3b69a5,#4575, #9210)

$location: allow 0 in path() and hash()(b8c5b871)

form: fix submit prevention (86c7d122,#3370, #3776)

ngAnimate: defer DOM operations for changing classes to postDigest (667183a8,#8234, #9263)

orderBy: sort by identity if no predicate is given (607f016a,#5847, #4579, #9403)

select:

throw for selectAs and trackBy(30996f82)

use $viewValue instead of $modelValue(f7174169,#8929)

Features

$location:

add support for History API state handling (6fd36dee,#9027)

allow automatic rewriting of links to be disabled (b3e09be5,#5487)

$route: ability to cancel $routeChangeStart event (f4ff11b0,#5581, #5714, #9502)

Performance Improvements

$animate:

access DOM less in resolveElementClasses (22358cf9)

don't join classes before it's necessary in resolveElementClasses (003c44ec)

ngBind: set textContent rather than using element.text() (074a146d,#9369, #9396)

下载地址:https://github.com/angular/angular.js/archive/v1.3.0-rc.5.zip

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

共有 1 条评论

  1. YDFTTT 于 2014-10-12 12:03:13发表:

    呵呵