JavaScript 框架,Angular.js 1.4.4 发布
一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVVM、模块化、自动化双向数据绑定、语义化标签、依赖注入等等。
Angular.js 1.4.4 发布,更新内容如下:
Bug 修复
-
$animate:
-
leave animation callback should not overridden by follow-up animation (92e41ac9,#12271, #12249, #12161)
-
make sure to run a post-digest reflow for parentless animations (861636c6,#12400, #12401)
-
ensure that class-based animations are properly applied when cancelled (21d6db38,#12266, #12007)
-
$animateCss: make sure that
skipBlocking
avoids the pre-emptive transition-delay styling (11695ca6) -
$compile:
-
don't trigger $observer if initial value is
undefined
(6f3b8622,#12383, #12464) -
ignore optional =-bound properties with empty value (533d9b76,#12144, #12259, #12290)
-
$injector: Allows ES6 function syntax (44a96a4c,#12424, #12425)
-
$location: don't crash if navigating outside the app base (9e492c35,#11667)
-
$q: Use extend to avoid overwriting prototype (3abb3fef,#10697)
-
$rootScope: don't clear phase if $apply is re-entered (e0cf496f,#12174)
-
Angular: allow unescaped
=
signs in values inparseKeyValue
(f13852c1,#12351) -
httpParamSerializerJQLike: Follow jQuery for index of arrays of objects (18a2e4fb)
-
i18n: by default put negative sign before currency symbol (96f2e3be,#10158)
-
injector: check that modulesToLoad isArray. (5abf593e,#12285)
-
merge: regExp should not be treated as a objects when merging. (a5221f32,#12419, #12409)
-
ng/$locale: by default put negative sign before currency symbol (52986724,#10158)
-
ngAnimate:
-
always apply a preparation reflow for CSS-based animations (d33cedda,#12553, #12554, #12267, #12554)
-
ensure that only string-based addClass/removeClass values are applied (0d6fc2dc,#12458, #12459)
-
ensure that parent class-based animations are never closed by their children (32d3cbb3,#11975, #12276)
-
allow animations on body and root elements (44ce9c82,#11956, #12245)
-
ngCsp: allow CSP to be configurable (618356e4,#11933, #8459, #12346)
-
ngModel: correct minErr usage for correct doc creation (a268c29f,#12386, #12416)
-
ngOptions: allow empty option selection with multiple attribute (c11a7d67,#12511, #12541)
-
ngSanitize: escape the wide char quote marks in a regex in linky.js (39ff3332,#11609)
</ul> -
$animateCss: expose a core version of
$animateCss
(39b634e5,#12509) -
$httpProvider: add 'useLegacyPromiseExtensions' configuration (a8f7e9cf,#12112, #10508)
-
ngAnimate: due to 32d3cbb3, CSS classes added/removed by ngAnimate are now applied synchronously once the first digest has passed.
特性
性能提升
重大改进
更多内容请查看更新日志。
该版本下载请点这里。