Commit Graph

57 Commits

Author SHA1 Message Date
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
Jörn Zaefferer
df91317ab4 Merged the three unbind docs into one, added a few more (optional) hints; Use one() instead of bind() for unload 2007-01-04 09:47:42 +00:00
Jörn Zaefferer
af9e5d45fc Added back the check for safari before checking target.nodeType, IE fails otherwise 2007-01-03 12:57:42 +00:00
John Resig
4805a45c06 It's now possible to trigger default events like .click(), .submit(), .focus(), etc. Using the jQuery event trigger. 2007-01-02 17:34:56 +00:00
John Resig
0ae7198b9e Cleaned up a bunch of the event code, removed .oneEvent() and .unEvent(). 2007-01-02 16:43:05 +00:00
Jörn Zaefferer
79f9678bf5 typo, a bit formatting 2007-01-01 14:54:55 +00:00
Brandon Aaron
b06dd433b2 Fix for #504 2006-12-31 22:03:34 +00:00
John Resig
370c6d564a Moved all the relevant event-related code into the event module. 2006-12-31 03:58:43 +00:00
Jörn Zaefferer
09bfb5df0d Removed documentation for oneXXX and unXXX methods (not yet implementation), added implementation for one() 2006-12-30 10:05:45 +00:00
Jörn Zaefferer
b8d46f7b6a Implemented, tested and documented #202 2006-12-28 11:37:07 +00:00
Jörn Zaefferer
def8c734ed Fix for #689 2006-12-24 01:16:20 +00:00
Jörn Zaefferer
30f708027f Improved docs for blur() and focus(), mentioning the difference between calling the jQuery method and the DOM method 2006-12-20 15:58:28 +00:00
Jörn Zaefferer
dd27ea5830 Fix for #468 2006-12-19 19:06:36 +00:00
Jörn Zaefferer
3e3240f7ed Fixed docs for #134 2006-12-11 09:38:03 +00:00
Jörn Zaefferer
a8bafe7874 Fix for #474 2006-12-11 08:59:50 +00:00
Jörn Zaefferer
7cc550727c Testsuite 2.0 2006-11-18 13:37:01 +00:00
Brandon Aaron
32816eff59 Fix for #181 2006-11-15 17:13:07 +00:00
Jörn Zaefferer
8b875055ec Fix to prevent potential memory leak, dunno if that actually helps 2006-10-27 08:23:25 +00:00
Jörn Zaefferer
4e5b46f7f6 Modified onexxx handlers to unbind themselve when executed; Reintroduced event fixes (and added some more comments) 2006-10-27 08:10:00 +00:00
John Resig
476cbd2f1a Rolled back Joern's changes. They've been moved to another branch, and will be merged for 1.1. 2006-10-26 16:09:55 +00:00
Jörn Zaefferer
897fbfe89c Fixed and improved jQuery's event system: The target property of the event object is now fixed (IE and Safari), bind() accepts now a third parameter "amount" to run the function only the specified number of times, oneclick etc. uses this new bind - it removes the handler when it is not necessary anymore, therefore providing better performance, see accordion for test/demo ( http://joern.jquery.com/accordion/accordion.html ) 2006-10-26 12:41:25 +00:00
John Resig
af961d58c2 Fixed all warnings generated when javascript.options.strict is enabled in Firefox about:config. 2006-10-15 02:57:55 +00:00
John Resig
dbee06de85 Fixed a bunch of endline issues. 2006-10-10 01:59:20 +00:00
Jörn Zaefferer
7b2c84ddbe Removed (hopefully) all references to $ within the jQuery code itself 2006-10-06 17:15:33 +00:00
Jörn Zaefferer
c5943ff9bb Fixed bug #222 (again) 2006-10-06 14:05:30 +00:00
Jörn Zaefferer
25ee2d8e2e Fixed bug #225 again 2006-10-03 18:33:02 +00:00
Jörn Zaefferer
004f3dd517 Added * You can have as many $(document).ready events on your page as you like. 2006-10-03 14:58:57 +00:00
Jörn Zaefferer
644256759f Added fix for bug #222 2006-10-01 17:40:12 +00:00
Jörn Zaefferer
47200bc76f Marked load() as private, won't work anyway 2006-10-01 13:15:11 +00:00
Jörn Zaefferer
cc5625067a Removed event test for load; Added fix for bug #225 2006-09-30 14:34:01 +00:00
John Resig
394334671c Weird, I never committed the docs for mouseover. 2006-09-16 22:48:53 +00:00
John Resig
e8db15b70f Minor documentation fixes. 2006-09-08 19:18:49 +00:00
Jörn Zaefferer
eff56887b1 Modified test for wrap(String), added test for toggle(fn, fn) 2006-09-07 08:12:12 +00:00