Commit Graph

89 Commits

Author SHA1 Message Date
Brandon Aaron
3c5340d146 Fix for #1185 2007-05-31 04:15:41 +00:00
Brandon Aaron
2c33101693 Fix for #923, #1136 and #1233 2007-05-31 03:51:28 +00:00
Brandon Aaron
d85a22a70e Use .one() when doing a .bind() with an "unload" event type (#1242) 2007-05-31 00:13:54 +00:00
Brandon Aaron
ee31297a83 Fix event.which (#1217) 2007-05-30 19:22:24 +00:00
Brandon Aaron
7e03645a55 Clean up in jQuery.event.add for assigning a handler.guid 2007-05-23 13:51:04 +00:00
Ed Engelhardt
eabac3f6a1 fix style, prefix and typo in a few comments 2007-05-22 07:11:50 +00:00
John Resig
5ef3d5364d Added support for the event object properties relatedTarget, metaKey, which, and charCode. Fixes bug #1204. 2007-05-20 16:51:52 +00:00
Brandon Aaron
f5a2db89fd Clean up in jQuery.event.fix (#1171) 2007-05-11 21:39:38 +00:00
Brandon Aaron
c76f6cd125 Fix for #1186 2007-05-11 21:14:11 +00:00
John Resig
74a8e20623 Query now throws no warnings under strict mode in Firefox (ticket #922). In fixing this, revision [1771] was discovered and reverted (no API changes are being added in at this time), and a couple un-functioning test cases were fixed (array comparisions were being done for objects). 2007-04-29 18:39:07 +00:00
Brandon Aaron
fba422541a Fix for #1061 2007-04-26 18:52:10 +00:00
Brandon Aaron
2897b1bd23 unbind handlers with data + test (#935) 2007-04-24 22:35:04 +00:00
Brandon Aaron
14aafdf319 != undefined :) 2007-04-24 21:50:49 +00:00
Brandon Aaron
11b64c1149 Don't pass handler function as data for events + test (#1140) 2007-04-24 21:48:52 +00:00
Brandon Aaron
1d2faf36cf Fix an issue with adding multiple event handlers and reattaching the global event handler in IE 2007-04-22 16:34:23 +00:00
Brandon Aaron
03d2680259 Adding back modified test for #939 2007-04-22 05:13:33 +00:00
Brandon Aaron
e0aa10a664 Fix scope issue in DOM 2 event handlers 2007-04-22 04:17:43 +00:00
Brandon Aaron
2ad223aedd Use DOM 2 event handlers, do not trigger click on a tags and event.data no longer global 2007-04-22 03:16:53 +00:00
John Resig
d7a8794eb5 Cleaned up a lot of the test suite - reorganized and renamed tests. Added a new triggerEvent() method to the test runner to help us better test actual event interactions. 2007-03-25 18:06:18 +00:00
Jörn Zaefferer
eab0e57fb5 Added test for #815 2007-03-25 12:16:23 +00:00
Jörn Zaefferer
4b9bed9543 Added test for #935 2007-03-25 12:07:59 +00:00
Jörn Zaefferer
4903872c17 Added test for #939 2007-03-25 12:01:15 +00:00
Jörn Zaefferer
a10afee0c3 Added a not-yet-failing testcase for #1054 2007-03-25 10:34:03 +00:00
Jörn Zaefferer
88abf0902a Added a not-yet-failing testcase for #1054 2007-03-25 10:30:59 +00:00
Brandon Aaron
2b9b3e90c1 Fix generic event handler and $events expando removal for IE 2007-03-05 17:42:12 +00:00
Brandon Aaron
fe1910d4d9 Fix generic event handler and $events expando removal for IE 2007-03-05 17:34:17 +00:00
John Resig
6b729ff798 Cleaned up how event removing was handled. All expandos are now removed when they are no longer needed. Additionally, a bug where all events are unbound if an incorrect event handler is provided, was fixed. 2007-03-01 04:54:51 +00:00
Jörn Zaefferer
92417f694a Backported wiki changes from http://docs.jquery.com/API/1.1.1/Events 2007-02-27 21:43:08 +00:00
Brandon Aaron
34cb5b5812 Fix for #964 2007-02-25 19:36:29 +00:00
John Resig
3eaebf45a2 Fix for bug #959, maintaining a list of event handlers on the 'events' property was causing problems with elements whom had that ID. 2007-02-18 22:17:28 +00:00
Brandon Aaron
670d2f4140 Fix for #849 2007-02-07 19:51:59 +00:00
Jörn Zaefferer
2c99c18652 Fixed toggle() test to exclude konquerer 2007-02-05 19:12:23 +00:00
Jörn Zaefferer
43f235f425 Fixed docs for trigger, describing the second argument. 2007-01-31 22:04:30 +00:00
Jörn Zaefferer
5cfaef9ff9 Exclude Opera from toggle test, too (#863) 2007-01-23 16:57:34 +00:00
Jörn Zaefferer
9f93c7b3b8 Removed another log statement; fixed add(Array) for IE (IE reports form.elements.nodeName == "FORM") 2007-01-23 14:46:19 +00:00
Jörn Zaefferer
926e80b902 Modified toggle() test to stop IE from browsing to another site, problem not solved 2007-01-23 11:10:02 +00:00
John Resig
d2f9022a8e Refactored the trigger code a little bit. 2007-01-22 05:14:45 +00:00
John Resig
23220321d1 You had to have an event bound in order to trigger an event - which is not necessarily the case. 2007-01-22 05:00:02 +00:00
John Resig
6c72f188cd Triggered event handlers are only executed once now. 2007-01-22 02:41:23 +00:00
John Resig
e45dbf29f8 Quick code optimization in trigger. 2007-01-22 00:38:57 +00:00
John Resig
34355cd698 Converted a lot of for loops to use jQuery.each() instead. 2007-01-14 21:49:59 +00:00
John Resig
ed5bda3020 Added in jQuery.isFunction(). 2007-01-14 06:22:20 +00:00
John Resig
79c58b8406 Added a fix for triggered events not being cancellable. (You couldn't return false to stop a .submit(), for example.) 2007-01-13 22:29:59 +00:00
John Resig
39b0976e3e Removed unnecessary uses of typeof undefined. 2007-01-12 03:53:55 +00:00
Jörn Zaefferer
c6e6e72561 Modified ready to event to pass jQuery object, allowing users to avoid the ugly custom alias pattern, added examples to both ready(Function) and $(Function) 2007-01-10 18:46:41 +00:00
Jörn Zaefferer
028f9d859d Moved event object docs to wiki 2007-01-09 19:54:21 +00:00
Jörn Zaefferer
41cc839a2d Removed duplicated show/hide/toggle, added test for toggle(), started documentation of event properties/methods 2007-01-09 17:15:22 +00:00
John Resig
0798c6e64e Reorganized the different effects to be in fx.js, instead of jquery.js - and cleaned up some of the documentation. 2007-01-07 21:43:38 +00:00
John Resig
d7b73ea5c7 Improved the categories of a bunch of docs, upped the version to 1.1. 2007-01-07 09:20:19 +00:00
John Resig
c330527318 Converted instances of new function(){ ... } to use jQuery.each(...) instead. Also, removed unnecessary documentation for trigger functions (.mouseup()!?). 2007-01-06 05:31:47 +00:00