jQuery 1.7 Beta 2 发布

fmms 12年前
     <p>jQuery 发布了 1.7 的第二个 beta 版本,该版本主要是 bug 修复,提升了稳定性。<br /> <br /> jQuery插件大全:<a href="http://www.open-open.com/ajax/jQuery.htm" target="_blank">http://www.open-open.com/ajax/jQuery.htm</a><br /> </p>    <p>Hot off the momentum of the jQuery Conference in Boston earlier this month, and based on the community’s valuable feedback, we’re releasing a new beta that incorporates further fixes and improves stability. The full list of fixes and features can be found below. We urge everyone to start testing this code in their applications, so we can make sure that there are no major problems before the final release.</p>    <p>You can get the code from the jQuery CDN:</p>    <ul>     <li><a href="/misc/goto?guid=4958193280530965449">http://code.jquery.com/jquery-1.7b2.js</a></li>    </ul>    <p>Please help us by dropping that code into your existing application. If you see something, say something. <a href="/misc/goto?guid=4958193281268216717">File a bug</a> and mention that you’re testing against jQuery 1.7 Beta 2. If there’s a problem we want to fix it!</p>    <h2>jQuery 1.7 Beta 2 Change Log</h2>    <p>The current change log of the 1.7 Beta 2 release:</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=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>    </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=4958193299092398979">#10416</a>: defaultDisplay returns block instead of table-row for a tr in FF</li>     <li><a href="/misc/goto?guid=4958193299843918738">#10445</a>: Setting queue to true causes an error</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>    </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>    </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>    </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>    </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>