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

Angular.js v1.5.0 beta.2 发布下载

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

Angular.js v1.5.0 beta.2 发布下载,更新内容如下:

Bug 修复

特性

性能提升

  • $compile:

    • use static jquery data method to avoid creating new instances (9b90c32f)

    • Lazily compile the transclude function (652b83eb)

  • $interpolate: provide a simplified result for constant expressions (cf83b4f4)

  • copy:

  • merge: remove unnecessary wrapping of jqLite element (4daafd3d,#13236)

Breaking Changes

  • $sanitize: due to 181fc567, The svg support in  is now an opt-in option

Applications that depend on this option can use  to turn the option back on, but while doing so, please read the warning provided in the  documentation for information on preventing click-hijacking attacks when this option is turned on.

ngMessage is now compiled with a priority of 1, which means directives on the same element as ngMessage with a priority lower than 1 will be applied when ngMessage calls the $transclude function. Previously, they were applied during the initial compile phase and were passed the comment element created by the transclusion of ngMessage. To restore this behavior, custom directives need to have their priority increased to at least "1".

ngOptions will now throw if ngModel is not present on the selectelement. Previously, having no ngModel let ngOptions silently fail, which could lead to hard to debug errors. The change should therefore not affect any applications, as it simply makes the requirement more strict and alerts the developer explicitly.

Previously, an non array-like input would pass through the orderBy filter unchanged. Now, an error is thrown. This can be worked around by converting an object to an array, either manually or using a filter such ashttps://github.com/petebacondarwin/angular-toArrayFilter. (null and undefined still pass through without an error, in order to support asynchronous loading of resources.)

Closes #11255 Closes #11719

详情请看:CHANGELOG.md

下载地址:v1.5.0-beta.2

一些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-11/125284.htm

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

       

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