设为首页收藏本站

LUPA开源社区

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

Angular.js v1.6.0发布,Web前端框架

2016-12-10 16:39| 发布者: joejoe0332| 查看: 600| 评论: 0|原作者: oschina|来自: oschina

摘要: Web 前端框架Angular.js v1.6.0 发布了。该版本合并了之前 1.6.0 候选版本中显示的所有更改。新特性ngModelOptions:允许选项从祖先继承ngModelOptions(296cfc,#10922)$compile:默认设置preAssignBindingsEnabled为 f ...

Web 前端框架 Angular.js v1.6.0 发布了。该版本合并了之前 1.6.0 候选版本中显示的所有更改。

新特性

  • ngModelOptions: 允许选项从祖先继承 ngModelOptions (296cfc, #10922)

  • $compile: 默认设置 preAssignBindingsEnabled 为 false (bcd0d4, #15352)

  • jqLite:

    • implement jqLite(f) as an alias to jqLite(document).ready(f) (369fb7)

    • don't throw for elements with missing getAttribute (4e6c14)

    • don't remove a boolean attribute for .attr(attrName, '') (3faf45)

    • remove the attribute for .attr(attribute, null) (4e3624)

    • return [] for .val() on <select multiple> with no selection (d882fd)

    • camelCase keys in jqLite#data (fc0c11, #15126)

    • align jqLite camelCasing logic with JQuery (73050c, #7744)

  • $http:

    • 删除弃用的回调方法: success()/error() (b54a39)

    • JSONP 回调必须由 jsonpCallbackParam 配置置顶 (fb6634, #15161, #11352)

    • JSONP 请求现在需要一个可信的资源 URL (6476af, #11352)

  • select: 通过使用 ngValue 支持任何类型的值添加(f02b70, #9842)

  • input:

    • add support for binding to input[type=range] (913016, #5892, #14870)

    • add support for step to input[type=number] (e1da4be, #10597)

    • allow ngTrim to work for input[type=radio] (47724b)

  • $interpolate: use custom toString() function if present (a5fd2e, #7317, #11406)

  • ngRoute:

    • allow ngView to be included in an asynchronously loaded template (c13c66, #1213)

    • implement resolveRedirectTo (e98656, #5150)

  • $q: report promises with non rejection callback (c9dffd, #13653, #7992)

  • $location: default hashPrefix to '!' (aa077e, #13812)

点此查看完整更新内容

发布主页

下载地址


酷毙

雷人

鲜花

鸡蛋

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

最新评论

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

返回顶部