aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix simulate() arg order.Dave Methvin2011-09-191-1/+1
|
* Clean up the quick selector expression parsing code.Dave Methvin2011-09-191-24/+27
|
* special.handle now must call the handleObj.handler if it wants that to ↵Dave Methvin2011-09-191-29/+23
| | | | happen. Also re-use the simulate() function for bubbling focusin.
* Rework the special events interface to add handle and trigger hooks. Modify ↵Dave Methvin2011-09-191-125/+136
| | | | IE change/submit special events to take advantage of them. Rewrite mouseover/enter code as special events rather than inline code. In the event unit test, set a tabindex on the div element and focus it first to justify a legitimate blur event.
* Rewrite IE special change/submit to make it faster/shorter. Fixes #6319.Dave Methvin2011-09-191-52/+49
|
* Fixes #8858. Pass the .trigger(..., data) to the event.special._default method.Dave Methvin2011-09-191-1/+1
|
* Add unit tests for quickIs cases and fix the regexp as a result.Dave Methvin2011-09-191-4/+4
|
* Pre-compute delegated event path and handlers to comply with ↵Dave Methvin2011-09-191-17/+21
| | | | http://www.w3.org/TR/DOM-Level-3-Events/#event-flow
* jQuery 1.7 event work:Dave Methvin2011-09-191-443/+325
| | | | | | | | Add .on() and .off() methods. Write existing methods in terms of on/off. Rewrite delegated handling to remove "live" event. Fix existing code for jQuery style guide. Fix existing bug in unit tests calling .undelegate()
* Fix #10208. Check for `button` as well as `input` when performing the #7071 ↵Dave Methvin2011-09-071-2/+3
| | | | VML crash workaround for IE special-events submit code.
* Make sure that Internet Explorer 6-8 won't give a "failed" error, when a ↵Steen Nielsen2011-07-151-3/+4
| | | | request for type is made on vml objects
* Landing pull request 397. withinElement rewrite in event. Fixes #6234, ↵rwldrn2011-06-141-18/+11
| | | | | | | | | | #9357, #9447. More Details: - https://github.com/jquery/jquery/pull/397 - http://bugs.jquery.com/ticket/6234 - http://bugs.jquery.com/ticket/9357 - http://bugs.jquery.com/ticket/9447
* Landing pull request 404. Removes unused hasOwn var declaration. Fixes #9510.rwldrn2011-06-061-2/+1
| | | | | | More Details: - https://github.com/jquery/jquery/pull/404 - http://bugs.jquery.com/ticket/9510
* Landing pull request 377. Check custom data != null(undefined), allows zero; ↵Rick Waldron2011-05-161-1/+1
| | | | | | | | Fixes #9285. More Details: - https://github.com/jquery/jquery/pull/377 - http://bugs.jquery.com/ticket/9285
* 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