发布于 2015-05-13 10:52:22 | 183 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的AngularJS Tutorial中文版,程序狗速度看过来!

AngularJS 前端JS框架

AngularJS诞生于Google是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入,等等。


AngularJS诞生于Google是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入,等等。

AngularJS 1.4.0.rc2 发布,此版本代号为:rocket-zambonimation,更新内容如下:

重大改进

ngAnimate

  • $animateCss: due to d5683d21, The $animateCss service will now always return an object 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 CSS animation code to an anchor animation. With this fix, the suffixed CSS -anchor classes are now not used anymore for CSS anchor animations.

  • due to e6d053de, if your CSS code made use of the ng-animate-anchorCSS class for referencing the anchored animation element then your code must now use 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 a minErr 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 class when triggering anchor animations (df24410c)

    • rename ng-animate-anchor to ng-anchor(e6d053de)

    • ensure that shared CSS classes between anchor nodes are retained (e0014002,#11681)

    • prohibit usage of the ng-animate class with classNameFilter (1002b80a,#11431, #11807)

    • ensure that the temporary CSS classes are applied before detection (f7e9ff1a,#11769, #11804)

    • 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 classes which are properties of Object.prototype (f7b99970,#11813, #11814)

  • ngOptions:

  • 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



历史版本 :
Angular 6.0.0-beta.1 和 5.2.2 发布,Web 前端框架
Angular 6.0.0-beta.0 和 5.2.1 发布,Web 前端框架
Angular 5.2 现已发布,Web 前端框架
Angular 5.2.0-rc.0 和 5.1.3 发布,Web 前端框架
Angular 5.2.0-beta.1 和 5.1.2 发布,Web 前端框架
Angular 5.2.0-beta.0 和 5.1.1 发布,Web 前端框架
Angular 5.1.0 正式版发布,Web 前端框架
Angular 5.0.5 和 5.1.0 rc.1 发布,Web 前端框架
Angular 5.0.4 和 5.1.0 rc.0 发布,Web 前端框架
Angular.js 1.6.7 发布,Web 前端框架
Angular 5.0.2 和 5.1.0 beta1 发布,Web 前端框架
Angular 5.0.1 和 5.1.0 beta0 发布,Web 前端框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务