aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* combined jQuery.bind() and jQuery.one() to make them more DRYKarl Swedberg2009-12-101-32/+12
|
* Restrict the attr quick setters to only methods that specifically ask for ↵John Resig2009-12-091-0/+4
| | | | the functionality. Fixes #5612.
* Add a try/catch to handle the exception thrown by unloaded iframes in IE. ↵John Resig2009-12-091-1/+4
| | | | Fixes #4280.
* Make sure that we don't try to trigger non-existant native events on ↵John Resig2009-12-091-2/+4
| | | | applets, embed, objects, etc. as it'll cause an exception with Java applets. Fixes #2414.
* Fixed problems with removing live events. Fixes #4894.John Resig2009-12-091-3/+1
|
* We have to access the native event handlers/triggers directly, otherwise ↵John Resig2009-12-091-2/+2
| | | | they won't execute in most modern browsers. Fixes #5124.
* Removed uses of arguments.callee from jQuery.John Resig2009-12-071-2/+2
|
* Moved .ready() to core.js from event.js.John Resig2009-12-071-116/+1
|
* Oops, missed a closing } from 7d36ccfa8eb018fcf349e1f74e3a0a614385558f.John Resig2009-12-071-0/+2
|
* Broke out the logic for the bubbling change/submit events so that they ↵John Resig2009-12-061-12/+11
| | | | aren't bound if they aren't used.
* Make sure that we're doing proper focus bubble testing. Also simplified the ↵John Resig2009-12-061-24/+14
| | | | logic for the IE focusin/focusout handling.
* Adding in cross-browser onbeforeunload support. Fixes #4106.John Resig2009-12-061-0/+17
|
* Fix inverted 'orig' and 'fix' event in mouseenter/mouseleave special events.lrbabe2009-12-061-5/+5
|
* added semicolons to end of 2 statements (and fixed a misspelled word in comment)Karl Swedberg2009-12-061-2/+2
|
* Retooled the native triggering code, simplifying it.John Resig2009-12-041-5/+7
|
* Adding in support for bubbling submit and change events, thanks to the patch ↵Justin Meyer2009-12-041-50/+136
| | | | by Justin Meyer. Includes a delegation test suite for manually testing to see if the events work as intended.
* Landed the rest of the liveHandler rewrite that takes advantage of the new ↵jeresig2009-12-031-8/+3
| | | | closest multi-selector signature (sorry, accidentally committed some of it in the wrong commit: 4daae7a79f43815935a2890d16904c5a052717f3).
* No need to do the closest match if no selectors are passed in.jeresig2009-12-031-16/+33
|
* added curly braces around all if/else statementsKarl Swedberg2009-11-281-20/+24
|
* Re-adding zeros removed from slice calls in last commit.Robert Katic2009-11-261-2/+2
|
* Corrected RegExp to match event namespaces. Fixes #5303.Robert Katic2009-11-261-2/+2
|
* Changed the === undefined ready event check to == null since frameElement is ↵Andrea Giammarchi2009-11-171-1/+1
| | | | usually null and was skipping the normal line of checks.
* Land Rich's fix for not using window.top to do frame detection. Fixes #4787.Rich Dougherty2009-11-111-3/+8
|
* Making sure that you can bind multiple toggles to a single element without ↵Mr Speaker2009-11-111-2/+3
| | | | problems. Thanks to 'Mr Speaker' for the original patch. Fixes #5274.
* Require that, at least, document.body exists before firing the ready event. ↵John Resig2009-11-091-0/+4
| | | | This may stop jQuery from working on pages that don't create a document.body (such as Safari, when no body exists) but considering that we've required a document.body since 1.3 and haven't broken any pages, this doesn't appear to be a pressing issue. Used the test case written by dmethvin to verify the bug and the fix. Fixes #4320.
* Backing out commit 81bfd9b870f658ce00eec48ea48a84d69c20bf05, read the ticket ↵John Resig2009-11-091-1/+1
| | | | incorrectly - and seeing some of the other earlier tickets it's obvious that a more generic solution is needed. Thanks jdalton for the catch.
* Merge branch 'master' of git@github.com:jquery/jqueryJohn Resig2009-11-091-4/+3
|\
| * Cleanup bubbling focus and blur eventslrbabe2009-11-091-4/+3
| | | | | | | | | | - Use cached event instead of jQuery.event - Do not cache event.special if you use it only once
* | Making mouseenter and mouseleave work with .live().lrbabe2009-11-091-6/+22
|/
* Make liveHandler to use jQuery.lastCloser and speed up internal sorting.rkatic2009-11-081-3/+3
|
* Make sure that document.body exists, at least, in IE before the ready event ↵John Resig2009-11-071-1/+2
| | | | is fired. Fixes #5443.
* Consistant splits using " " instead of ","visionmedia2009-10-271-3/+3
| | | | | This was used in several other areas, and IMO is easier to read and since nothing is multi-word then we misewell use " "
* Fixed == change in ready.John Resig2009-10-081-1/+2
|
* Probably not the optimal solution, but tests pass.Yehuda Katz2009-09-161-1/+37
|
* jquery event: closes #5250. bind(), unbind() and one() support Object ↵Ariel Flesler2009-09-161-0/+25
| | | | Literals (needs some refactor though)
* jquery event: misc removalAriel Flesler2009-09-141-6/+2
|
* jquery event: fixes #4989. blur and focus events now bubble and can be ↵Ariel Flesler2009-09-141-2/+33
| | | | handled using live().
* fix for #5198, event memory leak limited to IE only via conditional compilationBrandon Aaron2009-09-141-2/+2
|
* Make sure that at least one argument is provided to .slice(), in accordance ↵John Resig2009-07-231-3/+3
| | | | with the spec. Fixes jQuery bug #4942.
* Support dynamically loaded copies of jQuery using document ready. Fixes #4889.John Resig2009-07-221-0/+6
|
* fix for #3533, triggering an event with a colon in the name on a table no ↵Brandon Aaron2009-06-171-4/+10
| | | | longer throws an error in IE
* fix regression in removing live events caused by r6324Brandon Aaron2009-05-121-2/+14
|
* jquery event: misc changeAriel Flesler2009-05-101-2/+3
|
* unused, left-over code from r6344Brandon Aaron2009-05-071-2/+2
|
* .bind() now accepts an optional thisObject as the last argument which is ↵Brandon Aaron2009-05-071-14/+42
| | | | used to change the value of this in event callbacks. fixes #3699
* fix for #4234. hover can take one function to use for both enter and leave.Brandon Aaron2009-05-061-1/+1
|
* fix for #3286Brandon Aaron2009-05-061-3/+6
|
* fix global event triggering that i broke in r6323Brandon Aaron2009-05-011-4/+4
|
* special event refactor left over codeBrandon Aaron2009-05-011-1/+1
|
* fix for #2620Brandon Aaron2009-05-011-2/+2
|