转载

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

Angular.js 1.4.3 发布,这一版本有多项 bug 修复,还增加了一些特性,提升了性能:

Bug Fixes

  • $animateCss:ensure animations execute if only a keyframeStyle is provided( 97d79eec , #12124 , #12340 )

  • $browser:prevent infinite digest if changing hash when there is no hashPrefix( f81ff3be , #10423 , #12145 )

  • $compile:

    • throw error when requestng new and isolate scopes (async)( 6333d65b , #12215 , #12217 )

    • do not write @-bound properties if attribute is not present( 8a1eb162 , #12151 , #12144 )

    • workaround for IE11 MutationObserver( f3b1d0b7 , #11781 )

    • exception when using "watch" as isolated scope binding variable in Firefox( a6339d30 , #11627 )

  • $location:

    • allow navigating outside the original base URL( 6903b5ec , #11302 , #4776 )

    • do not get caught in infinite digest in IE9( 91b60226 , #11439 , #11675 , #11935 , #12083 )

  • $parse:

    • set null reference properties to undefined ( 71fc3f4f , #12099 )

    • set null reference properties to undefined ( d19504a1 , #11959 )

  • $sanitize:dont not remove tab index property( 799353c7 , #8371 , #5853 )

  • compile:assign ctrl return values correctly for multiple directives( 8caf1802 , #12029 , #12036 )

  • copy:do not copy the same object twice( 0e622f7b )

  • forms:parse exponential notation in numberInputType parser( ebd0fbba , #12121 , #12122 )

  • linky:allow case insensitive scheme detection( 8dc09e6d , #12073 , #12073 )

  • loader:define isFunction( 9ea52d81 )

  • merge:treat dates as atomic values instead of objects.( 6cbbd966 , #11720 , #11720 )

  • ngAnimate:ensure that orphaned elements do not throw errors when animated( e4aeae0c , #11975 , #12338 )

  • ngAria:

    • update aria-valuemin/max when min/max change( ebaa0f59 , #11770 , #11774 )

    • ensure boolean values for aria-hidden and aria-disabled( 59273354 , #11365 )

  • ngModel:form validation when there is an Object.prototype enumerable value( 0934b76b , #12066 )

  • ngOptions:

    • only watch numeric properties of an array( 14638f4a )

    • do not watch properties starting with $( 34a6da24 , #11930 , #12010 )

    • use reference check only when not using trackBy( d7dc14dc , #11936 , #11996 )

  • orderBy:ensure correct ordering with arrays of objects and no predicate( 48e1f560 , #11866 , #11312 , #4282 )

Features:

  • $compile:show module name during multidir error( 351fe4b7 , #11775 )

  • $q:$q.resolve as an alias for $q.when( 3ef52980 , #11944 , #11987 )

  • ngAria:add option to disable role=button( 1f5e42e8 , #11580 , #12234 )

Performance Improvements:

  • $compile:avoid jquery data calls when there is no data( 9efb0d5e )

详细更新内容请查看 更新日志 。

下载地址如下:

  • Source code (zip) 

  • Source code (tar.gz)

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

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

正文到此结束
Loading...