设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

AngularJS 1.4.9发布,HTML的Web框架

2016-1-24 13:11| 发布者: joejoe0332| 查看: 654| 评论: 0|原作者: oschina|来自: oschina

摘要: AngularJS 1.4.9 发布,更新如下:Bug 修复Animationensure that animate promises resolve when the document is hidden (9a60408c)do not trigger animations if the document is hidden (09f6061a,#12842, #13776 ...

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


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部