日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

jQuery 1.10.0 和 2.0.1 发布

發布時間:2025/3/20 编程问答 16 豆豆
生活随笔 收集整理的這篇文章主要介紹了 jQuery 1.10.0 和 2.0.1 发布 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

jQuery 團隊今天發布了兩個更新版本,分別是 1.10.0 和 2.0.1,改進內容:

jQuery 1.10.0 Changelog

Ajax

  • #13922: HEAD responses with application/json results parseerror
  • #13388: Ajax request not returning responseXML

Attributes

  • #13835: hasClass fails when class contains form feed
  • #13809: Closure Compiler/YUI Compressor fail
  • #13752: tabIndex propHook’s default value for non-focusable elements should be -1
  • #13514: Setting “wrong” value of select-element using .val() is inconsistent in IE9 compared to other browsers
  • #12072: Remove Firefox deprecated nodeValue, getAttributeNode, specified

Build

  • #13741: Make wrap*/unwrap methods an optional module
  • #13755: Update .jshintrc to match style guide
  • #13776: License comment is breaking the SourceMap
  • #13793: SourceMap on Google is broken

Core

  • #12199: $.isPlainObject false positive in IE < 9
  • #13223: JQUERY 1.9 + CLIENT-SIDE TEMPLATE = “SYNTAX ERROR, UNRECOGNIZED EXPRESSION”
  • #13744: Move jQuery.fn.size to deprecated

Event

  • #13554: Move [un]bind & [un]delegate to event-alias
  • #13393: .focus() results in ‘Unspecified error.’ IE9, v1.9

Manipulation

  • #13401: .replaceWith( “” ) with empty string not working
  • #13596: .replaceWith should always remove the context set
  • #13721: remove(“:nth-child(1)”) works differently than filter(“:nth-child(1)”).remove()
  • #13722: replaceWith argument handling is inconsistent with other manipulation methods

Selector

  • #13331: jQuery.fn.add returns incorrect order in Chrome and Safari
  • #13420: jQuery 1.9.1 fails to filter SVG parent nodes by class name when using .parent() and .closest()
  • #13505: jquery#add: seems to get items in collection out of order on larger lists
  • #13777: IE7 jQuery attribute selector not working properly
  • #13894: .children does not return direct child, but .find does [Firefox only]

?

Support

  • #12040: Test against Content Security Policy (CSP)
  • #13743: Remove jQuery.support.boxModel
  • #13754: jQuery doesn’t work in a non-HTML document in UAs that have innerHTML on Element and create non-HTML elements via createElement

Traversing

  • #13265: parent method fails with text nodes in IE10
  • #13332: .closest(“*”) yields input even for non-element nodes

jQuery 2.0.1 Changelog

Ajax

  • #13922: HEAD responses with application/json results parseerror

Attributes

  • #13809: Closure Compiler/YUI Compressor fail

Data

  • #13815: Setting data property with data(object) produces different results than data(key, value)
  • #13850: .data() and removeData() doesn’t work correctly with hyphenated property

Effects

  • #13855: Problems animating line-height property

Event

  • #13554: Move [un]bind & [un]delegate to event-alias
  • #13255: jQuery 2.0b1 and Cordova 2.3.0 cause “Uncaught TypeError: Cannot read property ‘nodeType’ of null”.

Manipulation

  • #13803: XMLHttpRequest cannot load
  • #13818: Creation of `col` elements inconsistancy

Selector

  • #13577: New minimal selector engine fails on textNode objects

Traversing

  • #13819: Selection through children results in descending order
  • #13846: jQuery 2.0.0 reversing order of returned elements
與50位技術專家面對面20年技術見證,附贈技術全景圖

總結

以上是生活随笔為你收集整理的jQuery 1.10.0 和 2.0.1 发布的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。