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

新闻 jQuery 3.1.0 发布 下载

Discussion in '软件资讯' started by 漂亮的石头, 2016-07-08.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,974
    Likes Received:
    47
    jQuery 3.1.0 发布了,该版本主要修复之前 3.0 版本潜在的一些问题。如果你想升级,可以参看升级指南: 3.0 Upgrade Guide ,以及 jQuery Migrate 1.4.1 相关信息。

    本次发布主要改进如下:


    • Ajax


      • Breaking change: Special-case Deferred methods removed from jQuery.ajax


      • Breaking change: Cross-domain script requests must be declared


      • Breaking change: Hash in a URL is preserved in a jQuery.ajax() call


      • Feature: New signature for jQuery.get() AND jQuery.post()

    • Attributes


      • Breaking change: .removeAttr() no longer sets properties to false


      • Breaking change: select-multiple with nothing selected returns an empty array


      • Feature: SVG documents support class operations


      • Deprecated: .toggleClass() with no arguments and .toggleClass( Boolean )

    • Callbacks


      • Feature: Locking a Callback prevents only future list execution

    • Core


      • Breaking change: jQuery 3.0 runs in Strict Mode


      • Breaking change: document-ready handlers are now asynchronous


      • Breaking change: jQuery.isNumeric() and custom .toString()


      • Breaking change: Deprecated .context and .selector properties removed


      • Breaking change: Undocumented internal methods no longer exposed


      • Breaking change: Return values on empty sets are undefined


      • Feature: for...of loops can be used on jQuery collections


      • Feature: jQuery.ready promise is formally supported


      • Deprecated: jQuery.unique(), renamed to jQuery.uniqueSort()


      • Deprecated: jQuery.parseJSON()


      • Deprecated: document-ready handlers other than jQuery(function)

    下载地址:

    https://code.jquery.com/jquery-3.1.0.js
    https://code.jquery.com/jquery-3.1.0.min.js
    jQuery 3.1.0 发布下载地址
     
Loading...