AngularJS 1.4.0.rc2 发布
#深圳# 6月10日 亚马逊AWSome Day云计算免费培训报名中AngularJS 1.4.0.rc2 发布,此版本代号为:rocket-zambonimation,更新内容如下:
重大改进
ngAnimate
[*] $animateCss: due to d5683d21,The $animateCss service will now always return anobject even if the animation is not set to run. If your code is using$animateCss then please consider the following code change:
[*]
due to df24410c,Prior to this fix there were to ways to apply CSSanimation code to an anchor animation. With this fix, the suffixedCSS -anchor>
[*] due to e6d053de,if your CSS code made use of the ng-animate-anchorCSS>ng-anchor instead.
[*] due to 1002b80a,partially or fully using a regex value containingng-animate as a token is not allowed anymore. Doing so will trigger aminErr exception to be thrown.
ngOptions
[*] ** due to dfa722a8,
[*] you are iterating over an array-like object, using the array form of the ngOptions syntax(item.label for item in items) and that object contains non-numeric property keys.
Bug 修复
[*] $compile: ensure directive names have no leading or trailing whitespace(bab474aa,#11397, #11772)
[*] $httpParamSerializerJQLike: follow jQuery logic for nested params(2420a0a7,#11551, #11635)
[*] jqLite: check for "length" in obj in isArrayLike to prevent iOS8 JIT bug from surfacing(426a5ac0,#11508)
[*] ngAnimate:
[*] ensure that multiple requests to requestAnimationFrame are buffered(db20b830,#11791)
[*] ensure that an object is always returned even when no animation is set to run(d5683d21)
[*]
force use of ng-anchor instead of a suffixed -anchor CSS>
[*] rename ng-animate-anchor to ng-anchor(e6d053de)
[*]
ensure that shared CSS>
[*]
prohibit usage of the ng-animate>
[*]
ensure that the temporary CSS>
[*] ensure that all jqLite elements are deconstructed properly(64d05180,#11658)
[*] ensure animations are not attempted on text nodes(2aacc2d6,#11703)
[*] ensure JS animations recognize $animateCss directly(0681a540)
[*]
ngClass: add/remove>
[*] ngOptions:
[*] ensure that tracked properties are always watched(b5a9053b,#11784)
[*] ensure label is watched in all cases(ae98dadf,#11765)
[*] iterate over the options collection in the same way as ngRepeat(dfa722a8,#11733)
[*] use watchCollection not deep watch of ngModel(47f9fc3e,#11372, #11653, #11743)
[*] ngTouch:
[*] check undefined tagName for SVG event target(74eb17d7)
[*] don't prevent click event after a touchmove(95521876,#10985)
新特性
[*] $resource: include request context in error message(266bc652,#11363)
更多内容请看更新日志,此版本现已提供下载:https://github.com/angular/angular.js/archive/v1.4.0-rc.2.zip。
页:
[1]