Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify the special change/submit event removal logic, per Scott's ↵ | jeresig | 2010-02-10 | 1 | -5/+2 | |
| | | | | suggestion in 5267824aa36f0fcecb944a4daf0b99d6e01460fd. | |||||
* | Updated formatting for the change/submit special event logic. Also switched ↵ | jeresig | 2010-02-08 | 1 | -83/+84 | |
| | | | | the function declarations to statements. Thanks to Garrett for the recommendation. | |||||
* | Fix in logic for handling exclusive namespace testing. Fixes #6048. | jeresig | 2010-02-08 | 1 | -2/+2 | |
| | ||||||
* | Update special events to work with the internal event system changes. Also ↵ | jeresig | 2010-02-05 | 1 | -15/+17 | |
| | | | | fixes #5967. | |||||
* | Rewrote the live event handling to use the new event logic. Also added in ↵ | jeresig | 2010-02-04 | 1 | -69/+84 | |
| | | | | support for live namespaced events. Fixes #5945. | |||||
* | A large refactor of the event handling logic. Data and namespace information ↵ | jeresig | 2010-02-04 | 1 | -149/+142 | |
| | | | | is maintained in a separate object now, no longer on the event handler. Proxy functions are no longer needed, as a result. Additionally execution order of the handlers is maintained, fixing #4261, and the execution of handlers is maintained even while they're being removed. Live events will be refactored separately. | |||||
* | Add .delegate() and .undelegate(). An alternative to using .live() which ↵ | jeresig | 2010-02-01 | 1 | -6/+22 | |
| | | | | goes from a single root and filters by the specified selectors. Should be used like do: .delegate(td, hover, someFn);. Fixes #6005. | |||||
* | Further optimize the empty/remove/cleanData logic. | jeresig | 2010-01-28 | 1 | -5/+9 | |
| | ||||||
* | Provide a way to simulate default browser actions. Fixes #5973. | jeresig | 2010-01-28 | 1 | -2/+5 | |
| | ||||||
* | Make sure namespaces is always an array, when passed to the remove special. ↵ | jeresig | 2010-01-28 | 1 | -2/+5 | |
| | | | | Follow-up to eed69eccc54d010889b5d8495320538d7ceb4e51. | |||||
* | Make sure that jQuery.data( elem ) always returns a data object, fixes ↵ | jeresig | 2010-01-28 | 1 | -41/+79 | |
| | | | | #5971. Improve the performance of .bind() and .unbind(), fixes #5972. | |||||
* | No reason to limit the initial change data store to just radio elements. ↵ | jeresig | 2010-01-27 | 1 | -4/+1 | |
| | | | | Fixes #5851. | |||||
* | Make sure that special.add actually copies over event namespaces and data. ↵ | jeresig | 2010-01-25 | 1 | -0/+2 | |
| | | | | Fixes #5779 and #5834. | |||||
* | Make sure multiple bound events have their namespaces and data maintained. ↵ | jeresig | 2010-01-25 | 1 | -3/+12 | |
| | | | | Fixes #3549. | |||||
* | Make sure that it's possible to preventDefault natively-triggered (submit, ↵ | jeresig | 2010-01-25 | 1 | -20/+32 | |
| | | | | focus, blur, click) events. Fixes #5695. | |||||
* | Make sure that .die() with no args works. Fixes #5789. | jeresig | 2010-01-23 | 1 | -3/+3 | |
| | ||||||
* | Select (with a selected) fired change on first focus in IE. Fixes #5869. | Matt Curry | 2010-01-23 | 1 | -4/+4 | |
| | ||||||
* | Added support for multiple live event handlers, live hover, and live ↵ | Irae Brasil | 2010-01-23 | 1 | -9/+24 | |
| | | | | focus/blur (mapped to focusin/focusout). Fixes #5804, #5801, #5852. | |||||
* | Make sure that live handlers don't stop inline scripts from executing. Fixes ↵ | Irae Brasil | 2010-01-23 | 1 | -1/+1 | |
| | | | | #5835. | |||||
* | Make sure non-left-click events don't bubble. Fixes #3861. | Irae Brasil | 2010-01-23 | 1 | -0/+5 | |
| | ||||||
* | Adding in the change recommended by Alexander Farkas to fix some bugs in the ↵ | jeresig | 2010-01-18 | 1 | -2/+2 | |
| | | | | change delegation logic. Fixes #5851. | |||||
* | Fix missing var declaration for the length iterator. | jeresig | 2010-01-18 | 1 | -1/+1 | |
| | ||||||
* | Expose the proxy object on the object, for the benefit of plugin authors ↵ | John Resig | 2010-01-15 | 1 | -0/+2 | |
| | | | | (Thanks to Justin Meyer for the suggestion). | |||||
* | Removed extraneous thisObject references. Thanks to Matt Dunlap for the ↵ | John Resig | 2010-01-14 | 1 | -2/+1 | |
| | | | | heads-up. | |||||
* | Make sure no exception is thrown if no event handler is found (which is the ↵ | jeresig | 2010-01-13 | 1 | -0/+6 | |
| | | | | case for applets, objects, and embeds). | |||||
* | Fixed typo in logic, also disabled function setters in this case to allow ↵ | jeresig | 2010-01-12 | 1 | -2/+2 | |
| | | | | the functions to passthrough and bind. | |||||
* | Make sure that the focusin and focusout easy-bind methods are exposed. | jeresig | 2010-01-12 | 1 | -1/+1 | |
| | ||||||
* | Revert "Adding in backwards-compatiblity support for ↵ | jeresig | 2010-01-11 | 1 | -18/+5 | |
| | | | | | | jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code." This reverts commit e9d5947b4abbc052046585227892da0adcd56caf. | |||||
* | Make sure that submit event is still bound for regular form submit events. ↵ | jeresig | 2010-01-11 | 1 | -0/+3 | |
| | | | | Thanks to Mark Gibson for the fix suggestion. | |||||
* | Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - ↵ | jeresig | 2010-01-06 | 1 | -5/+18 | |
| | | | | and immediately deprecating it. Please explicitly use jQuery(document) in your code. | |||||
* | Merging in jQuery.proxy() branch. | jeresig | 2010-01-05 | 1 | -29/+16 | |
|\ | ||||||
| * | Added in a holdover jQuery.event.guid for back-compat (two plugins use it: ↵ | jeresig | 2010-01-05 | 1 | -0/+4 | |
| | | | | | | | | mousewheel and a datepicker). Plugin authors should work to stop using jQuery.event.guid and jQuery.event.proxy ASAP. | |||||
| * | Moved jQuery.proxy() into core. | jeresig | 2009-12-31 | 1 | -20/+3 | |
| | | ||||||
| * | Remove the .bind(name, fn, thisObject) and promote jQuery.event.proxy() to ↵ | jeresig | 2009-12-31 | 1 | -30/+30 | |
| | | | | | | | | jQuery.proxy() as alternative to handling scoping on callbacks. Fixes #5736. | |||||
* | | Merge branch 'bug-5735' | jeresig | 2009-12-31 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Rather than declaring empty anonymous functions all around, introduce and ↵ | jeresig | 2009-12-31 | 1 | -1/+1 | |
| |/ | | | | | | | use a single empty function. Thanks to Matt Kruse for the suggestion. | |||||
* / | When .bind('unload') was called it accidentally went recursive, from ↵ | jeresig | 2009-12-31 | 1 | -3/+5 | |
|/ | | | | 1bac61655b6c323ab4bcfc65b0d95c1587dd8503. Fixes #5688. | |||||
* | Fixed spelling mistake noted in dc6b7ce3469eaadb37a151d449e8d36571d1894. | jeresig | 2009-12-21 | 1 | -1/+1 | |
| | ||||||
* | Standardize on using double-quotes for string literals. | jeresig | 2009-12-21 | 1 | -2/+3 | |
| | ||||||
* | Made a number of spacing changes to bring the code more-inline with the ↵ | jeresig | 2009-12-21 | 1 | -9/+20 | |
| | | | | jQuery Core Style Guideline. | |||||
* | Tweaked the syntax of withinElement a bit. | jeresig | 2009-12-21 | 1 | -4/+11 | |
| | ||||||
* | Tweaked a couple cases where == was used instead of ===. | jeresig | 2009-12-21 | 1 | -2/+2 | |
| | ||||||
* | Make sure that the beforeactivate event isn't accidentally prevented. | Alexander Farkas | 2009-12-21 | 1 | -1/+1 | |
| | ||||||
* | Stop trying to emulate the focus/blur event in IE, doesn't work as one might ↵ | Jörn Zaefferer | 2009-12-21 | 1 | -16/+15 | |
| | | | | expect, anyway. Instead, implement the focusin/focusout events in all other browsers - which creates a much better parity across all browsers. Uses event capturing instead of bubbling to make it happen. Thanks to Alexander for the recommendation and to Joern Zaefferer for the original focus/blur delegation code. | |||||
* | Used the patch from Alexander as the basis for a rewrite of the IE change ↵ | Alexander Farkas | 2009-12-21 | 1 | -35/+71 | |
| | | | | event logic. Now has full parity with the regular change event in other browsers: Works with regular bind, works better with multiple selects, works as a regular change event (note test suite changes), works with readonly/disabled inputs, and much more. The original patch had a number of problems, including firing the change event too many times, not bubblinb properly, and not handling clicks on multi-selects properly - that should all be fixed now. Thanks Alexander for the patch pushing in the right direction. | |||||
* | Make sure that we don't bind the onunload event in Opera. | jeresig | 2009-12-18 | 1 | -1/+1 | |
| | ||||||
* | No need to use the conditional comment for binding the onunload event in IE. | jeresig | 2009-12-18 | 1 | -11/+11 | |
| | ||||||
* | Retooled the arguments.callee-related changes in ↵ | jeresig | 2009-12-16 | 1 | -2/+9 | |
| | | | | 98ce35d52b17a033822f31d8a36232222d0d365e to avoid re-declarations where possible. | |||||
* | No need to use jQuery's event system for binding the onunload event in IE. | jeresig | 2009-12-16 | 1 | -3/+2 | |
| | ||||||
* | Fixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f. | John Resig | 2009-12-11 | 1 | -1/+1 | |
| |