转载

Angular.js 1.4.4 发布,HTML 的 Web 框架

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 in parseKeyValue ( 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 )

  • input:Firefox validation trigger ( e7423168 , #12102 )

  • 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 )

    • $timeout without invokeApply ( 7db5f361 , #12281 , #12282 )

  • 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 )

特性

  • $animateCss:expose a core version of $animateCss ( 39b634e5 , #12509 )

  • $httpProvider:add 'useLegacyPromiseExtensions' configuration ( a8f7e9cf , #12112 , #10508 )

  • orderBy:Stable sort the input ( ed3a33a0 , #12408 , #12405 )

性能提升

  • $q:small $q performance optimization ( 6838c979 , #12535 )

重大改进

  • ngAnimate:due to 32d3cbb3 , CSS classes added/removed by ngAnimate are now applied synchronously once the first digest has passed.

更多内容请查看 更新日志 。

该版本下载请点 这里 。

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

Angular.js 1.4.4 发布,HTML 的 Web 框架

正文到此结束
Loading...