aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that mouseenter/mouseleave fire on the correct element when doing ↵John Resig2011-05-101-3/+4
| | | | delegation. Fixes #9069.
* Restores var names to satisfy the crock-machine. Supplements #9008Rick Waldron2011-04-281-1/+1
|
* Restored /g flag to rspaces; Adds unit tests; Supplements #9008Rick Waldron2011-04-281-1/+1
|
* Make cached rspaces regex definitions consistent. Fixes #9008rwldrn2011-04-281-2/+2
|
* Landing pull request 344. using jQuery.nodeName where applicable.Jordan Boesch2011-04-231-4/+4
| | | | | More Details: - https://github.com/jquery/jquery/pull/344
* Merge branch 'master' of github.com:jquery/jquery into fix-8790a-quicker-triggerDave Methvin2011-04-211-3/+8
|\
| * DRY out #6514Rick Waldron2011-04-171-1/+1
| |
| * Fix live mouseenter and mouseleave binding so they can be activated by ↵Brian Brennan2011-04-171-1/+1
| | | | | | | | triggers. Fixes #6514.
| * Added check for live mouseenter/mouseleave events if bound to nested ↵Gilmore Davidson2011-04-171-0/+5
| | | | | | | | elements with the same selector. Fixes #5884.
| * Make sure that there isn't an error if no event object exists. Fixes #8755.John Resig2011-04-171-1/+1
| |
| * Allow function to be passed in as a data object to bind and one. Fixes #6993.John Resig2011-04-161-1/+1
| |
* | Follow-up to #8790. Delay the creation of a jQuery.Event until we know it ↵Dave Methvin2011-04-161-26/+23
|/ | | | will need to be triggered.
* Fix test suite fail in IE6/7 on event:undelegate - was failing an if where ↵timmywil2011-04-131-2/+2
| | | | it shouldn't
* Followup to #8753. Modify new Event constructor signature to ↵Dave Methvin2011-04-121-15/+9
| | | | jQuery.event(type, props), which can be exploited by jQuery.event.trigger as well.
* Merge branch 'fix-8790-quick-trigger'Dave Methvin2011-04-121-4/+5
|\ | | | | | | | | Conflicts: src/event.js
| * Explicitly set event.type in case we chopped out a namespace or exclusive flag.Dave Methvin2011-04-121-0/+1
| |
| * Use explicit "new jQuery.Event" to avoid double-function-call overhead.Dave Methvin2011-04-121-3/+3
| |
* | Accessing the 'type' property on VML elements fails on IE. Fixes #7071.John Firebaugh2011-04-121-2/+2
| |
* | Merge branch 'Sub_Naming' of https://github.com/timmywil/jquery into ↵John Resig2011-04-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | timmywil-Sub_Naming Conflicts: src/core.js src/css.js src/event.js
| * | Changed $.sub internals to match sub naming, added some more spacing in some ↵Timmy Willison2011-02-061-4/+2
| | | | | | | | | | | | areas for readability
* | | More formatting tweaks.John Resig2011-04-121-2/+2
| | |
* | | Fixing some minor formatting problems.John Resig2011-04-121-1/+3
| | |
* | | Merge branch 'fix-8790-quick-trigger' of https://github.com/dmethvin/jquery ↵John Resig2011-04-121-15/+31
|\ \ \ | | |/ | |/| | | | into dmethvin-fix-8790-quick-trigger
| * | Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-triggerDave Methvin2011-04-111-0/+8
| |\ \
| * | | Shave some time off array setup in trigger/handleDave Methvin2011-04-111-2/+2
| | | |
| * | | Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-triggerDave Methvin2011-04-111-1/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/event.js
| * | | | Move initialization of event until we determine if anyone wants it.Dave Methvin2011-04-111-15/+18
| | | | |
| * | | | Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-triggerDave Methvin2011-04-101-34/+54
| |\ \ \ \
| * | | | | Allow specific custom events to exit trigger early if there are no handlers ↵Dave Methvin2011-04-061-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | bound for that type.
* | | | | | Removing un-needed frameElement check as discussed in #8018. Fixes #8108.jeresig2011-04-121-11/+0
| |_|_|/ / |/| | | |
* | | | | Merge branch '8777' of https://github.com/rwldrn/jquery into rwldrn-8777jeresig2011-04-111-0/+8
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Conflicts: src/event.js
| * | | | Ticket #8777 undelegate by namespacerwldrn2011-04-051-2/+11
| | | | |
* | | | | Ticket #8753 Always set event type explicitlyRick Waldon2011-04-111-2/+5
| |_|/ / |/| | |
* | | | Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into ↵jeresig2011-04-101-17/+27
|\ \ \ \ | | | | | | | | | | | | | | | gf3-proxy-native-bind
| * \ \ \ Merge branch 'master' into proxy-native-bindGianni Chiappetta2011-01-211-67/+55
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (194 commits) Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This was causing problems with the focusin event, see: #7340. Replaces "text in-between" technique with a full-fledged one-level transitive search for converters (unit tests added). Also cleans up auto dataType determination and adds converter checks in order to guess the best dataType possible. Moves determineResponse logic into main ajax callback. Puts responseXXX fields definitions into ajaxSettings. Removes misleading comment. Bring jQuery('#id') and jQuery('body') logic back into core (while leaving it in Sizzle at the same time). Was causing too much of a performance hit to leave it all to Sizzle. Renames Deferred's fire and fireReject methods as resolveWith and rejectWith respectively. Fix typo in regex tweak from previous commit. Renames determineDataType as determineResponse. Makes it more generic as a first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js. Move jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. Additionally add in a new catch for Sizzle('.class') (avoid using qSA and use getElementsByClassName instead, where applicable). Revises the way arguments are handled in ajax. Makes sure statusCode callbacks are ordered in the same way success and error callbacks are. Unit tests added. Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). Rework unit tests to check actual result elements. Moves active counter test after all other ajax tests where it should be. Revised the Nokia support fallback. It turns out that Nokia supports the documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery error-free and return proper values for window width and height. Moves things around to make jsLint happier. Fixes crossDomain test so that it assumes port to be 80 for http and 443 for https when it is not provided. Moves determineDataType into ajaxSettings so that it is accessible to transports without the need for a second argument and so that we can now pass the original options to the transport instead. Also ensures the original options are actually propagated to prefilters (they were not). Re-adds hastily removed variable and simplifies statusCode based callbacks handling. Use undefined instead of 0 to deference transport for clarity. ... Conflicts: src/event.js
| * | | | Fixing $.proxy to work like (and use) Function.prototype.bind (ticket #7783)Gianni Chiappetta2010-12-141-17/+27
| | | | | | | | | | | | | | | | | | | | http://bugs.jquery.com/ticket/7783
* | | | | Merge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into ↵jeresig2011-04-101-4/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rwldrn-eventprops.1.6final Conflicts: test/unit/event.js
| * | | | | Remove this.type assignmentrwldrn2011-04-051-4/+0
| | | | | |
| * | | | | Move this.type setting to after prop set; avoid setting twicerwldrn2011-04-051-1/+4
| | | | | |
| * | | | | Ticket #8753 Allow special properties to explicitly defined on jQuery.Event ↵rwldrn2011-04-051-3/+14
| | |_|/ / | |/| | | | | | | | | | | | | objects
* | | | | Fixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow ↵Dave Methvin2011-04-071-13/+13
| |_|_|/ |/| | | | | | | | | | | bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
* | | | Fix #8732. Change feature detect for focusin event support, so IE9 won't ↵Dave Methvin2011-04-061-1/+1
| | | | | | | | | | | | | | | | have duplicate events.
* | | | Fixes #8712. Bubble custom events to the window when they are triggered. ↵Dave Methvin2011-04-061-1/+2
| | | | | | | | | | | | | | | | Ride that, Cowboy!
* | | | Fix some spacing and comment issues that crept in with the rebase.Dave Methvin2011-04-061-61/+60
| | | |
* | | | Sadly, we still have to bubble the event so inline handlers will work.Dave Methvin2011-04-061-5/+4
| | | |
* | | | Only bubble a triggered event if we have attached a jQuery handler, but ↵Dave Methvin2011-04-061-27/+30
| | | | | | | | | | | | | | | | check the current element for an inline handler regardless. Make some other size optimizations as well.
* | | | Switch from recursion to iteration for event triggering. Move event-name ↵Dave Methvin2011-04-061-70/+52
| | | | | | | | | | | | | | | | namespace processing out of event handler, since it has to always go through trigger.
* | | | Shorten up the code and do event cleanup on test cases.Dave Methvin2011-04-051-8/+3
| | | |
* | | | Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into ↵Dave Methvin2011-04-051-1/+6
|\ \ \ \ | |/ / / |/| | | | | | | rwldrn-ticket_7883
| * | | #7883 .delegate and .live should accept false as the fn arg, like bindrwldrn2011-01-011-1/+6
| | | |