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