手机版
你好,游客 登录 注册
背景:
阅读新闻

AngularJS 1.4.0.rc2 发布下载

[日期:2015-05-13] 来源:oschina.net  作者:Linux [字体:大 中 小]

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

一些AngularJS相关文章链接:

AngularJS权威教程 清晰PDF版  http://www.linuxidc.com/Linux/2015-01/111429.htm

希望你喜欢,并分享我的工作~带你走近AngularJS系列:

  1. 带你走近AngularJS - 基本功能介绍 http://www.linuxidc.com/Linux/2014-05/102140.htm
  2. 带你走近AngularJS - 体验指令实例 http://www.linuxidc.com/Linux/2014-05/102141.htm
  3. 带你走近AngularJS - 创建自定义指令 http://www.linuxidc.com/Linux/2014-05/102142.htm

如何在 AngularJS 中对控制器进行单元测试 http://www.linuxidc.com/Linux/2013-12/94166.htm

在 AngularJS 应用中通过 JSON 文件来设置状态 http://www.linuxidc.com/Linux/2014-07/104083.htm

AngularJS 之 Factory vs Service vs Provider http://www.linuxidc.com/Linux/2014-05/101475.htm

AngularJS —— 使用 ngResource、RESTful APIs 和 Spring MVC 框架提交数据 http://www.linuxidc.com/Linux/2014-07/104402.htm

AngularJS 的详细介绍:请点这里
AngularJS 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-05/117457.htm

linux
相关资讯       AngularJS 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款