JavaScript框架,jQuery 1.7.2 RC1 发布

jopen 12年前
     <p>jQuery 发布了 1.7.2 的首个 RC 版本,下载地址:<a href="/misc/goto?guid=4958332323803066886" target="_blank">http://code.jquery.com/jquery-1.7.2rc1.js</a></p>    <p>目前 jQuery 内部测试发现该版本跟当前 jQuery UI 以及 jQuery Mobile 1.1 RC1 有一个兼容性问题,这个问题将在下个版本中解决。</p>    <p>另外 jQuery 团队目前在 IE6 的支持方面碰到了一些麻烦,他们在 IE6 做单元测试的时候碰到各种零星的小问题,目前还无法确定这些问题的原因,最令人恼火的是这些问题并不总是出现,所以如果大家在使用过程中有发现相关跟 IE6 的问题并能找到原因请与 jQuery 开发团队联系。</p>    <p>好了,言归正传,jQuery 1.7.2 RC1 版本的改进记录如下:</p>    <h3>Ajax</h3>    <ul>     <li><a href="/misc/goto?guid=4958332324620344501" target="_blank">#4624</a>: Charset in default ajaxSettings.contentType</li>     <li><a href="/misc/goto?guid=4958327365461295036" target="_blank">#10978</a>: jQuery.param() should allow non-native constructed objects as property values</li>     <li><a href="/misc/goto?guid=4958332326153553003" target="_blank">#11264</a>: evalScript() uses defaults set by ajaxSetup()</li>     <li><a href="/misc/goto?guid=4958332326948193090" target="_blank">#11426</a>: jQuery.ajax() always fails when requesting JPG images in IE</li>    </ul>    <h3>Attributes</h3>    <ul>     <li><a href="/misc/goto?guid=4958327366260344758" target="_blank">#5571</a>: Allow chaining when passing undefined to any setter in jQuery</li>     <li><a href="/misc/goto?guid=4958332328466689782" target="_blank">#10828</a>: attr(“coords”) returns undefined in IE7</li>     <li><a href="/misc/goto?guid=4958332329266499207" target="_blank">#10870</a>: Incorrect behaviour of $.removeAttr(“selected”)</li>     <li><a href="/misc/goto?guid=4958332330055174930" target="_blank">#11316</a>: Consider looking through valHooks by element type first, then by nodeName instead of the other way around</li>    </ul>    <h3>Build</h3>    <ul>     <li><a href="/misc/goto?guid=4958327367057899079" target="_blank">#10692</a>: Configure the jshint options to more accurately match the style guide</li>     <li><a href="/misc/goto?guid=4958332331578580031" target="_blank">#10693</a>: generalize the “test something in an iframe” code in unit tests</li>     <li><a href="/misc/goto?guid=4958332332374373778" target="_blank">#10901</a>: have unit tests fail if the tester is running from file:// or doesn’t have PHP</li>     <li><a href="/misc/goto?guid=4958327367873659582" target="_blank">#10902</a>: ability to test a built version of jQuery in unit tests</li>     <li><a href="/misc/goto?guid=4958327368678601471" target="_blank">#10931</a>: Unit tests shouldn’t require internet access</li>    </ul>    <h3>Core</h3>    <ul>     <li><a href="/misc/goto?guid=4958327369473671814" target="_blank">#10466</a>: jQuery.param() mistakes wrapped primitives for deep objects</li>    </ul>    <h3>Css</h3>    <ul>     <li><a href="/misc/goto?guid=4958327370269451836" target="_blank">#10639</a>: outerWidth(true) and css(‘margin’) returning % instead of px in Webkit</li>     <li><a href="/misc/goto?guid=4958327371071398821" target="_blank">#10754</a>: have jQuery.swap return the return of the callback instead of just executing it</li>     <li><a href="/misc/goto?guid=4958327371869352689" target="_blank">#10782</a>: Incorrect calculating width</li>     <li><a href="/misc/goto?guid=4958327372676603122" target="_blank">#10796</a>: Bug in IE7 with $(‘#el’).css.(‘background-position’)</li>     <li><a href="/misc/goto?guid=4958327373468962772" target="_blank">#10858</a>: css.js regular expressions are incomplete</li>     <li><a href="/misc/goto?guid=4958327374276078702" target="_blank">#11119</a>: The curCSS function only need 2 arguments</li>    </ul>    <h3>Data</h3>    <ul>     <li><a href="/misc/goto?guid=4958332339777859867" target="_blank">#11309</a>: hexadecimal-formatted data-* attributes parsed incorrectly</li>    </ul>    <h3>Deferred</h3>    <ul>     <li><a href="/misc/goto?guid=4958332340582520991" target="_blank">#11306</a>: calling .disable() or .lock() on a $.Callbacks object breaks its fired() status</li>    </ul>    <h3>Dimensions</h3>    <ul>     <li><a href="/misc/goto?guid=4958332341375511476" target="_blank">#3838</a>: $(document).height() incorrect in IE6</li>    </ul>    <h3>Effects</h3>    <ul>     <li><a href="/misc/goto?guid=4958327375068589360" target="_blank">#8498</a>: Animate Hooks</li>     <li><a href="/misc/goto?guid=4958327375880404003" target="_blank">#10006</a>: method show is not working as expected in all browsers when called for document fragment</li>     <li><a href="/misc/goto?guid=4958327376681528806" target="_blank">#10848</a>: Animation toggling loses state tracking in certain atomic edge cases</li>     <li><a href="/misc/goto?guid=4958332344371952822" target="_blank">#11415</a>: Silently ignore negative CSS values where they are illegal</li>    </ul>    <h3>Event</h3>    <ul>     <li><a href="/misc/goto?guid=4958327377499938971" target="_blank">#8165</a>: .live(‘click’, handler) fires on disabled buttons with child elements in Chrome</li>     <li><a href="/misc/goto?guid=4958327378300029680" target="_blank">#10819</a>: Eliminate “this.on.call(this, “</li>     <li><a href="/misc/goto?guid=4958327379097489413" target="_blank">#10878</a>: $(“select”).live(“change”, function(){ …broken in IE8 in jQuery 1.7</li>     <li><a href="/misc/goto?guid=4958327379894650727" target="_blank">#10961</a>: Error in XRegExp using jQuery 1.7.1 in IE6-9</li>     <li><a href="/misc/goto?guid=4958327380702023082" target="_blank">#10970</a>: The .on() selector parameter doesn’t work with :not(:first) selector</li>     <li><a href="/misc/goto?guid=4958327381496863335" target="_blank">#10984</a>: Cannot off() custom events ($.event.special)</li>     <li><a href="/misc/goto?guid=4958327382304893266" target="_blank">#11021</a>: Hover hack mangles a namespace named “hover”</li>     <li><a href="/misc/goto?guid=4958327383096491023" target="_blank">#11076</a>: .clone(true) loses delegation filters</li>     <li><a href="/misc/goto?guid=4958327383897156620" target="_blank">#11130</a>: jQuery.fn.on: binding map with null selector ignores data</li>     <li><a href="/misc/goto?guid=4958327384698787617" target="_blank">#11145</a>: $(document).on() not working with name=”disabled”</li>    </ul>    <h3>Manipulation</h3>    <ul>     <li><a href="/misc/goto?guid=4958327385510779315" target="_blank">#9427</a>: Passing undefined to .text() does not trigger setter</li>     <li><a href="/misc/goto?guid=4958327386303786298" target="_blank">#10753</a>: inline the evalScript function in manipulation.js as it’s only used once</li>     <li><a href="/misc/goto?guid=4958327387105014411" target="_blank">#10864</a>: text() method on a document fragment always returns the empty string</li>     <li><a href="/misc/goto?guid=4958327387895568553" target="_blank">#11055</a>: Update HTML5 Shim elements list to support latest html5shiv</li>     <li><a href="/misc/goto?guid=4958332355463155993" target="_blank">#11217</a>: Append problem with webkit</li>     <li><a href="/misc/goto?guid=4958332356269948844" target="_blank">#11291</a>: Cloning XMLDoc’s with HTML5 nodeName’s breaks on IE</li>     <li><a href="/misc/goto?guid=4958332357063186323" target="_blank">#11323</a>: script tags with type=”text/ecmascript” leak into the DOM</li>     <li><a href="/misc/goto?guid=4958332357864204147" target="_blank">#11356</a>: safeFragment memory leak</li>    </ul>    <h3>Misc</h3>    <ul>     <li><a href="/misc/goto?guid=4958327388684816653" target="_blank">#10952</a>: .fired() doesn’t work on Callbacks object when it is flagged with “once”</li>     <li><a href="/misc/goto?guid=4958327389486347034" target="_blank">#11257</a>: Wrong path to source files in test suite if PHP missing</li>    </ul>    <h3>Queue</h3>    <ul>     <li><a href="/misc/goto?guid=4958332360128798313" target="_blank">#10967</a>: .promise() does not attach methods onto target</li>    </ul>    <h3>Support</h3>    <ul>     <li><a href="/misc/goto?guid=4958332360924201692" target="_blank">#7986</a>: Bug in $.support.boxModel if page has DIV-element CSS</li>     <li><a href="/misc/goto?guid=4958327390276266449" target="_blank">#11048</a>: Support Tests affect layout for positioned elements in IE6-9</li>     <li><a href="/misc/goto?guid=4958332362446966879" target="_blank">#11337</a>: Bug in $.support.reliableMarginRight</li>    </ul>    <h3>Traversing</h3>    <ul>     <li><a href="/misc/goto?guid=4958332363254517304" target="_blank">#11370</a>: $(‘<div>’).siblings() throws exception</li>    </ul>