1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 AngularJS 1.4.9 发布,HTML 的 Web 框架 下载

本帖由 漂亮的石头2016-01-22 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,394
    赞:
    47
    AngularJS 1.4.9 发布,更新如下:

    Bug 修复

    小特性

    性能改进


    • ngAnimate: speed up areAnimationsAllowed check (2d3303dd)
    重大更新


    While we do not deem the following to be a real breaking change we are highlighting it here in the changelog to ensure that it does not surprise anyone.


    Possible breaking change for users who updated their code to provide a timeoutpromise for a $resource request in version 1.4.8.

    Up to v1.4.7 (included), using a promise as a timeout in $resource, would silently fail (i.e. have no effect).

    In v1.4.8, using a promise as timeout would have the (buggy) behaviour described in https://github.com/angular/angular.js/pull/12657#issuecomment-152108887(i.e. it will work as expected for the first time you resolve the promise and will cancel all subsequent requests after that - one has to re-create the resource class. This is feature was not documented.)

    With this change, using a promise as timeout in 1.4.9 onwsards is not allowed. It will log a warning and ignore the timeout value.

    If you need support for cancellable $resource actions, you should upgrade to version 1.5 or higher.

    更多内容请看:CHANGELOG.md

    下载地址:1.4.9
    AngularJS 1.4.9 发布,HTML 的 Web 框架下载地址
     
正在加载...