jQuery 1.7 RC2 发布

fmms 12年前
     <p>jQuery 1.7 发布了第二个 RC2 版,如果不出什么意外的话,这个版本也将是最终的正式版。</p>    <p>下载地址:</p>    <ul class="download">     <li><a href="/misc/goto?guid=4958197207900913445">http://code.jquery.com/jquery-1.7rc2.js</a></li>     <li><a href="/misc/goto?guid=4958197208649214773">http://code.jquery.com/jquery-1.7rc2.min.js</a></li>    </ul>    <p>jQuery 1.7 RC2 的详细改进记录请看<a href="/misc/goto?guid=4958197209377628408" target="_blank">发行说明</a>。<br /> <img title="jquery.png" border="0" alt="jquery.png" src="https://simg.open-open.com/show/0102fc76e33eb2730b2b4f9c5204e5ab.png" width="90" height="90" /></p>    <p>以下是1.7 RC2发布变化的详细记录:</p>    <h3>Ajax</h3>    <ul>     <li><a href="/misc/goto?guid=4958193282003317014">#9399</a>: Deprecate jqXHR.success and jqXHR.error</li>    </ul>    <h3>Attributes</h3>    <ul>     <li><a href="/misc/goto?guid=4958193282743744965">#5479</a>: removeAttr: remove multiple attributes</li>     <li><a href="/misc/goto?guid=4958195671404487310">#6743</a>: map enctype to encoding, depending on browser</li>     <li><a href="/misc/goto?guid=4958193283484946048">#10176</a>: Injected script tag is evaluated twice</li>     <li><a href="/misc/goto?guid=4958193284240425182">#10278</a>: checkboxEl.attr(‘checked’) returns stale value after checkboxEl.click()</li>     <li><a href="/misc/goto?guid=4958193284975248391">#10429</a>: IE7 – invalid procedure call or argument when calling removeAttr(‘contenteditable’);</li>     <li><a href="/misc/goto?guid=4958195674182450094">#10514</a>: removeAttr does not remove the class attribute in IE6/7</li>    </ul>    <h3>Core</h3>    <ul>     <li><a href="/misc/goto?guid=4958193285741164950">#6485</a>: Solution for HTML5 in IE</li>     <li><a href="/misc/goto?guid=4958193286477972801">#7102</a>: Register jQuery as a CommonjS async module</li>     <li><a href="/misc/goto?guid=4958193287212988890">#9453</a>: $.inArray does not support fromIndex</li>     <li><a href="/misc/goto?guid=4958193287952771791">#10478</a>: Switch jQuery.isNaN to jQuery.isNumeric</li>    </ul>    <h3>Css</h3>    <ul>     <li><a href="/misc/goto?guid=4958193288692462772">#10267</a>: IE8 and window is(‘:visible’) crashes</li>    </ul>    <h3>Data</h3>    <ul>     <li><a href="/misc/goto?guid=4958193289438720913">#7323</a>: Allow removing multiple data keys at once with $.fn.removeData</li>     <li><a href="/misc/goto?guid=4958193290188698483">#8909</a>: $(element).data() will scan all attributes more than needed.</li>     <li><a href="/misc/goto?guid=4958193290925761684">#8921</a>: jQuery private data should stay private</li>    </ul>    <h3>Deferred</h3>    <ul>     <li><a href="/misc/goto?guid=4958193291669468511">#8856</a>: Request: deferred.isUnresolved()</li>     <li><a href="/misc/goto?guid=4958193292408055083">#9033</a>: try{ } finally{ } error in IE8</li>     <li><a href="/misc/goto?guid=4958193293143803262">#9398</a>: Proposal for Improved Deferreds</li>    </ul>    <h3>Dimensions</h3>    <ul>     <li><a href="/misc/goto?guid=4958193293906062867">#9434</a>: .outerWidth()/.outerHeight()/.innerWidth()/.innerHeight() should work on window and document</li>    </ul>    <h3>Effects</h3>    <ul>     <li><a href="/misc/goto?guid=4958193294638258612">#5684</a>: Effects: exception in animation callback causes endless loop</li>     <li><a href="/misc/goto?guid=4958193295380749427">#6150</a>: .stop sometimes doesn’t clear .delay</li>     <li><a href="/misc/goto?guid=4958193296113498456">#6641</a>: Calling stop() within animation finished callback causes other animations to freeze</li>     <li><a href="/misc/goto?guid=4958193296866650163">#8685</a>: Animations should keep track of animation state in order to properly address stacked animations</li>     <li><a href="/misc/goto?guid=4958193297596780993">#9280</a>: Allow multiple effect queues for animate()</li>     <li><a href="/misc/goto?guid=4958193298344374473">#9548</a>: animate does not work with fill-opacity css property for svg elements</li>     <li><a href="/misc/goto?guid=4958193299843918738">#10445</a>: Setting queue to true causes an error</li>     <li><a href="/misc/goto?guid=4958195688377039925">#10497</a>: .stop should allow choosing which queue to stop</li>     <li><a href="/misc/goto?guid=4958197228300836823">#10622</a>: .show() does not properly restore CSS-set “display” value</li>    </ul>    <h3>Event</h3>    <ul>     <li><a href="/misc/goto?guid=4958193300580336490">#3368</a>: event.metaKey should be assigned to event.ctrlKey on Non-Mac only</li>     <li><a href="/misc/goto?guid=4958193301326592800">#6170</a>: jQuery(window).scroll(); causes IE* to scroll to 0,0</li>     <li><a href="/misc/goto?guid=4958193302060351699">#6319</a>: Regression: stopPropagation inside change handlers in IE is incorrectly applied to keydown event</li>     <li><a href="/misc/goto?guid=4958193302812186824">#6386</a>: support data argument for live events via “event.special.live.add”</li>     <li><a href="/misc/goto?guid=4958193303561314578">#6593</a>: IE8: DOM 0 event handler called twice when a separate handler is attached via jQuery</li>     <li><a href="/misc/goto?guid=4958193304298262906">#6667</a>: submit event doesn’t delegate in IE* under certain conditions</li>     <li><a href="/misc/goto?guid=4958193305037660607">#6903</a>: special events need a way to determine whether they are being bound with .bind vs .live/.delegate</li>     <li><a href="/misc/goto?guid=4958193305764379988">#6942</a>: JQuery.event.fix causes unnecessary reflows in IE when handling key events</li>     <li><a href="/misc/goto?guid=4958193306515925146">#7139</a>: “hover” event alias should work for .bind as well as .live</li>     <li><a href="/misc/goto?guid=4958193307256244981">#7161</a>: Submit event on a form element not unbound properly in IE</li>     <li><a href="/misc/goto?guid=4958193307997327466">#7444</a>: Submitting form with “Enter” instead of button click on ie8 or ie7 triggers live submit event twice.</li>     <li><a href="/misc/goto?guid=4958193308731886464">#8157</a>: Focusing an already focused text field will prevent the change event from firing in IE</li>     <li><a href="/misc/goto?guid=4958193309483278416">#8728</a>: Event ‘mouseenter’ not firing when the element being left is removed on leaving</li>     <li><a href="/misc/goto?guid=4958193310225646297">#8789</a>: Meta: Event Property Hooks</li>     <li><a href="/misc/goto?guid=4958193310963667736">#8858</a>: Special events – _default method doesn’t have access to the `data` argument of the trigger method</li>     <li><a href="/misc/goto?guid=4958193311713016670">#8866</a>: IE8 input[type=file] delegated change event files only on blur</li>     <li><a href="/misc/goto?guid=4958193312461467010">#8982</a>: bind(“unload someOther”) => on unload, handler is not executed only once.</li>     <li><a href="/misc/goto?guid=4958193313198724311">#9069</a>: when hover over a child of an element, mouseleave fires when using live or delegate</li>     <li><a href="/misc/goto?guid=4958193313930972989">#9279</a>: delegate() bind does not handle mouseover/mouseout and mouseenter/mouseout correctly for selected elements</li>     <li><a href="/misc/goto?guid=4958193314670892048">#9393</a>: Unify and DRY out event system</li>     <li><a href="/misc/goto?guid=4958193315415039956">#9593</a>: Delegated submit event is not instanceof jQuery.Event in IE</li>     <li><a href="/misc/goto?guid=4958193316160422096">#9724</a>: Infinite loop in trigger function when window.parentNode is a DOM element</li>     <li><a href="/misc/goto?guid=4958193316902357023">#9901</a>: event.handleObj.namespace incorrect when using .delegate</li>     <li><a href="/misc/goto?guid=4958193317647391834">#9933</a>: jQuery.fn.toggle() should store state in private data object</li>     <li><a href="/misc/goto?guid=4958193318390390646">#9951</a>: Wrong order in .trigger() when DOM is modified in a handler</li>     <li><a href="/misc/goto?guid=4958193319132855414">#10375</a>: Do not include `type` in jQuery.event.props</li>     <li><a href="/misc/goto?guid=4958193319868937390">#10438</a>: Rename jQuery.event.propHooks => .fixHooks</li>     <li><a href="/misc/goto?guid=4958193320613371772">#10468</a>: Remove deprecated jQuery.event.guid and jQuery.event.proxy</li>     <li><a href="/misc/goto?guid=4958193321367429782">#10489</a>: Disconnected elements bubble to window on .trigger()</li>     <li><a href="/misc/goto?guid=4958195708713328920">#10531</a>: Consider removing layerX and layerY from $.event.props</li>     <li><a href="/misc/goto?guid=4958195709448340203">#10563</a>: jQuery.Event no longer contains the element that matched the selector in event delegation.</li>     <li><a href="/misc/goto?guid=4958197249918864831">#10567</a>: Delegated events incorrectly match class names</li>     <li><a href="/misc/goto?guid=4958197250662571538">#10575</a>: Breaking changes in live event propagation between 1.6.4 and 1.7rc1</li>     <li><a href="/misc/goto?guid=4958197251399139773">#10576</a>: jQuery1.7rc1 and jQueryMobile1.0rc2 – IE gets error in jqm triggerCustomEvent method</li>    </ul>    <h3>Manipulation</h3>    <ul>     <li><a href="/misc/goto?guid=4958193322094815756">#6782</a>: carefully allow more strings to use innerHTML</li>     <li><a href="/misc/goto?guid=4958193322835646289">#7037</a>: Duplicate mouseover and mouseout events added to cloned element.</li>     <li><a href="/misc/goto?guid=4958195711541137312">#10501</a>: HTML5 element “innerShiv” inconsistent across html()/append()</li>    </ul>    <h3>Misc</h3>    <ul>     <li><a href="/misc/goto?guid=4958197254152209511">#10420</a>: MouseWheel</li>     <li><a href="/misc/goto?guid=4958195712282893230">#10553</a>: Further reduction of minimal license header</li>    </ul>    <h3>Selector</h3>    <ul>     <li><a href="/misc/goto?guid=4958193323577490449">#3144</a>: Inconsistent cross-browser results from .text() method</li>     <li><a href="/misc/goto?guid=4958193324319624015">#5637</a>: Boolean (and Empty) Attribute Selectors Fail</li>     <li><a href="/misc/goto?guid=4958193325063001657">#6863</a>: faster getText</li>     <li><a href="/misc/goto?guid=4958193325800231516">#7128</a>: attribute selector is inconsistent between qSA and Sizzle due to use of DOM properties</li>     <li><a href="/misc/goto?guid=4958193326546748660">#8539</a>: Sizzle cache collision in browsers without querySelectorAll</li>     <li><a href="/misc/goto?guid=4958193327286998213">#9261</a>: Has Attribute not working in filter/children/siblings</li>     <li><a href="/misc/goto?guid=4958193328036207514">#9570</a>: Selector $(‘form[name=".."]‘) returns zero elements in IE8 under some conditions</li>     <li><a href="/misc/goto?guid=4958193328773129844">#10178</a>: $(window).is(“a”) >> Uncaught TypeError: Cannot call method ‘toLowerCase’ of undefined</li>     <li><a href="/misc/goto?guid=4958193329519897104">#10315</a>: Sizzle ignores seed argument when using positional selectors</li>     <li><a href="/misc/goto?guid=4958195719075946042">#10562</a>: siblings method returns unexpected elements when using Sizzle-invoking pseudo-selectors</li>    </ul>    <h3>Support</h3>    <ul>     <li><a href="/misc/goto?guid=4958193330261717223">#5145</a>: jQuery.support.opacity = false in the Chrome browser</li>     <li><a href="/misc/goto?guid=4958193331002973433">#6809</a>: Add jQuery.support.fixedPosition</li>     <li><a href="/misc/goto?guid=4958195721151612992">#10558</a>: Test Support bug</li>     <li><a href="/misc/goto?guid=4958197264337145628">#10613</a>: IE8 doesn’t like a detached body in its head</li>    </ul>    <h3>Traversing</h3>    <ul>     <li><a href="/misc/goto?guid=4958193331746809037">#10449</a>: Function $(“#id”).closest(“.class”) returns element $(“#id”) itself if it has .class</li>    </ul>