最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

jQuery 1.5.1 發(fā)布,全面支持IE9 修復(fù)大量bug

 更新時(shí)間:2011年02月26日 13:48:06   作者:  
jQuery 1.5.1發(fā)布了!這是自jQuery1.5發(fā)布以來第一個(gè)小版本更新,并且解決了很多BUG。

我們非常感謝如下的貢獻(xiàn)者(Contributors),他們?yōu)榇舜蔚陌l(fā)布提供了很多補(bǔ)?。?/SPAN>Patches):antonkovalyov, csnover, danheberden, davidmurdoch, dmethvin, gnarf37, jaubourg, jeresig, jitter, jrburke, lrbabe, mathiasbynens, rwldrn, SlexAxton, and voxwerk.

我們也特別感謝我們的BUG分類小組,在他們的幫助下一些主要的BUG在本次版本更新中被修正。

下載

和通常一樣,我們提供兩份jQuery的拷貝。一個(gè)壓縮版本一個(gè)非壓縮版本(分別為了調(diào)試和閱讀)。

jQuery Minified (29kb Gzipped)

jQuery Regular (212kb) jquery下載地址

你可以在自己的網(wǎng)站內(nèi)引用上述鏈接地址,從而獲得更快的下載速度。

當(dāng)然,你也可以引用微軟或者GoogleCDN加速服務(wù)器上的jQuery,他們分別是:

Microsoft CDN: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js

Google CDN: https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js

1.6路線圖討論會(huì)議(Roadmap Meeting

jQuery的核心開發(fā)團(tuán)隊(duì)正在討論jQuery1.6中將要進(jìn)行的改變。目前我們計(jì)劃在四月下旬或者五月上旬發(fā)布jQuery1.6,我們會(huì)在37號(hào)中午討論這些將要添加到新版本中的提議(美國(guó)東部時(shí)間)。

你可以通過這個(gè)表格37號(hào)的會(huì)議之前提交你的建議。

jQuery 1.5.1更新日志

API 文檔:jQuery 1.5.1 API 文檔

因?yàn)檫@是一次修正BUG的小版本更新,所以沒有增加新的特性。唯一的變化如下:

jQuery 目前把 IE9作為一個(gè)重要的瀏覽器來支持。所有已知的BUG都已經(jīng)得到修復(fù)或者已經(jīng)提交給IE的開發(fā)團(tuán)隊(duì)以便在最終版本中得到解決。(All known bugs have been fixed and/or been reported to the IE team for resolution in the final release.

三個(gè)新的參數(shù)被添加到jQuery.ajax()

isLocal: 允許當(dāng)前的執(zhí)行環(huán)境被識(shí)別為“local(例如文件系統(tǒng))jQuery默認(rèn)情況下是不會(huì)識(shí)別這種環(huán)境。如下的協(xié)議被識(shí)別為本地環(huán)境:file, *-entension, widget. 如果需要修改isLocal,推薦使用$.ajaxSetup()方法來修改。

mimeType: 可以用來覆蓋XHRmime type.

xhrFields: 一個(gè)可以添加到原生XHR對(duì)象上的鍵值對(duì)(fieldName-fieldValue)。比如,你可以在跨域調(diào)用中設(shè)置withCredentialstrue

修正的BUG列表

本次版本修正了如下BUG

  • #2551 Make sure .val() works after form.reset() in IE
  • #4537 Make sure .clone(true) correctly clones namespaced events
  • #4966 Don't add “px” to unit-less properties when animating them
  • #6774 Make sure we only access parentNode if it's available. Fixes an issue where after an option tag has been detached, an elem.parentNode error would be thrown.
  • #6911Prevent action on disabled elements, both triggering and bound via .live()
  • #7531 Fix again for IE9RC. Enhances ajaxSetup so that it can take an optional target option, in which case target will be updated instead of ajaxSettings. That way, fields that shouldn't be deep extended can be listed and dealt with in one place. jQuery.ajax now makes use of ajaxSetup with target to create its internal settings object
  • #7568 Follow-up fix for #5862. Objects with a length property weren't serialized properly by jQuery.param
  • #7653 Changes regexp to detect local protocol so that it will accept any protocol finishing by -extension
  • #7668 Sizzle and jQuery QUnit tests are out of sync
  • #7912 This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn't a number, number-alike or a value that needs a fallback to 0.
  • #7922 Fixed an issue where live(‘click') doesn't fire when live(‘submit') is bound first in IE
  • #7945 Make jQuery.param() serialize plain objects with a property named jquery correctly
  • #8033 jQuery 1.4.4+ fails to load on pages with old Prototype (<= 1.5) or Current Prototype + Scriptaculous in IE
  • #8039 Selectors with HTML5 input types not work in IE6/7
  • #8052 Update jQuery.support.noCloneEvent test to function properly in IE9
  • #8095 Properly handles the case where browser cache needs to be bypassed while server-side logic still delivers proper 304 responses. Unit test added
  • #8098 Use the fast document.head when available
  • #8099 Always restore to correct display value based on element's expected default display
  • #8107 Fix argument handling for $.ajax for multiple method signatues and add test case
  • #8108Temporary fix for jQuery metadata being exposed on plain JS objects when serializing with JSON.stringify to avoid compatibility-breaking changes. A proper fix for this will be landed in 1.6
  • #8115 Renames all references to jXHR with jqXHR in the code (like was done in the doc)
  • #8123 The default for .clone() is to not clone any events
  • #8125 Status is set to 200 for requests with status 0 when location.protocol if “file:”. Added test/localfile.html to control it works
  • #8129 Fix cloning multiple selected options in IE8
  • #8135 Makes sure any exception thrown by Firefox when trying to access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior
  • #8138 Access to document.location is made only once at load time and if it fails (throwing an exception in IE when document.domain is already set), we use the href of an A element instead
  • #8145 Added readyWait tests
  • #8146 introducing the xhrFields option with is a map of fieldName/fieldValue to set on the native xhr. Can be used to set withCredentials to true for cross-domain requests if needed
  • #8152 applying the same special cases for protocol “chrome-extension:” as were for “file:” (needs tests). Re-organizes and fixes the handling of special cases for HTTP status code in the xhr transport
  • #8177 XHR transport now considers 304 Not Modified responses as 200 OK if no conditional request header was provided (as per the XMLHttpRequest specification)
  • #8193 Fixes abort in prefilter. No global event will be fired in that case even if the global option is set to true. Unit test added
  • #8198 Remove unnecessary “script.type = text/javascript;”
  • #8200 Unexpose $.support._scriptEval as it's not needed. Use a private var instead
  • #8209 Make sure that mousing over Chrome “internal div” doesn't trigger a mouseleave
  • #8219 Introduces the mimeType option to override content-type header in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option)
  • #8220 Remove backslashes from tag name filter
  • #8245 Ajax now ensures header names are capitalized so that non-compliant xhr implementations don't override them
  • #8250 ajax does not work in opera 10 widgets
  • #8277 Sets data to undefined rather than null when it is not provided in ajax helpers so that it won't revent data set in ajaxSettings from being used.
  • #8297 Make sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string.
  • #8353 Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
  • #8365 Make sure that IE 9 still clones attributes.

相關(guān)文章

最新評(píng)論

峨眉山市| 略阳县| 宁明县| 石城县| 隆回县| 阳泉市| 肃宁县| 铜鼓县| 金平| 大冶市| 阳原县| 常宁市| 独山县| 佛山市| 库尔勒市| 兴仁县| 荃湾区| 阿图什市| 黑龙江省| 靖西县| 东明县| 桐柏县| 保靖县| 潞西市| 周至县| 邹城市| 化德县| 当雄县| 莒南县| 榆树市| 左贡县| 徐汇区| 丰镇市| 长春市| 南漳县| 蒙自县| 缙云县| 九江县| 丹凤县| 洞头县| 阳谷县|