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

新闻 jQuery 3.2.0 发布,支持自定义 CSS 属性 下载

本帖由 漂亮的石头2017-03-17 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,979
    赞:
    47
    jQuery 3.2.0 发布了,此版本包括一些错误修复,改进和一些弃用,如果从 jQuery 3.0+ 升级,应该不会存在兼容性问题。

    如果尚未升级到 jQuery 3+,请查看 3.0 升级指南jQuery Migrate 3.0 插件将帮助你识别代码中的兼容性问题。

    值得关注的更新:


    • Added support for custom CSS properties (#3144).


    • Deprecated jQuery.holdReady (#3288).


    • Deprecated jQuery.nodeName (#3475).


    • Deprecated jQuery.inArray (#2961).


    • Fixed a bug in .width(), .height(), and related methods where CSS transforms were included in the calculations. For instance, an element with the style transform: scale(2x) should not have its width and height values doubled (#3193).


    • Added support for <template> elements to the .contents() method (#3436).


    • Added back the deprecated module to the slim build. This change is largely insignificant given the module’s small size. We believe it makes more sense to remove deprecated pieces from the slim build at the same time as the main jQuery build (#3237).
    下载


    https://code.jquery.com/jquery-3.2.0.js

    https://code.jquery.com/jquery-3.2.0.min.js

    也可从 npm 获取

    npm install jquery@3.2.
    jQuery 3.2.0 发布,支持自定义 CSS 属性下载地址
     
正在加载...