Commit Graph

2785 Commits

Author SHA1 Message Date
John Resig
262fcf7b7b Require that, at least, document.body exists before firing the ready event. 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. 2009-11-09 13:47:53 +01:00
John Resig
24e18d4cae Backing out commit 81bfd9b870, read the ticket incorrectly - and seeing some of the other earlier tickets it's obvious that a more generic solution is needed. Thanks jdalton for the catch. 2009-11-09 13:30:33 +01:00
John Resig
4fd730dca7 Merge branch 'master' of git@github.com:jquery/jquery 2009-11-09 13:01:10 +01:00
lrbabe
d251809912 Making mouseenter and mouseleave work with .live(). 2009-11-09 12:59:54 +01:00
lrbabe
9a69b2cf08 Cleanup bubbling focus and blur events
- Use cached event instead of jQuery.event
- Do not cache event.special if you use it only once
2009-11-09 19:41:43 +08:00
Robert Katić
e03aee1aa6 Made the closest method evaluate the selector with appropriate context. 2009-11-09 12:39:29 +01:00
rkatic
b256a3a266 Added a method to myKlass.
If an object's prototype is "empty", then isObject returns true!
2009-11-09 19:32:24 +08:00
rkatic
c2bbcd8833 Added comments to isObject. 2009-11-09 19:32:24 +08:00
John Resig
76f6f0d39d Fixing spacing problems from rkatic's patches. 2009-11-07 17:40:47 +01:00
rkatic
3dc5bc5a8b Make liveHandler to use jQuery.lastCloser and speed up internal sorting. 2009-11-08 00:37:05 +08:00
rkatic
0f03c7489f Store last closer value to jQuery.lastCloser instead of using data API. 2009-11-08 00:36:44 +08:00
John Resig
3106039aa8 Made sure that animate callbacks get executed even when no properties are passed in. Fixes #5459. 2009-11-07 17:22:35 +01:00
John Resig
b0fe380cf8 Make .add() take an optional context and - if a context is specified in the root selector - use that as the base context. 2009-11-07 16:43:31 +01:00
John Resig
ef05f44cce Comment nodes are discarded from a merge, for no apparent reason. Fixes #5438. 2009-11-07 16:15:33 +01:00
John Resig
6a722e251d jQuery.ajax modified the passed-in object only to help test the code - this shouldn't occur. Fixes #5439. 2009-11-07 16:08:07 +01:00
John Resig
1a94a46826 A typechange for test/qunit. 2009-11-07 16:03:16 +01:00
John Resig
81bfd9b870 Make sure that document.body exists, at least, in IE before the ready event is fired. Fixes #5443. 2009-11-07 16:00:43 +01:00
John Resig
513053d62b The complete event wasn't getting called on local file 404s. Thanks to 'mrspeaker' for the patch. Fixes #5468. 2009-11-07 14:59:47 +01:00
John Resig
9a371e2d93 Fixed the case where getComputedStyled was assumed to exist if getBoundingClientRect did (which isn't the case on the Playstation 3). Fixes #5467. 2009-11-07 14:57:27 +01:00
John Resig
339708cda9 Removing some of the SVN-specific stuff from the Ant build file (should probably be updated to use the new Git functionality. 2009-11-07 14:55:14 +01:00
Michael Bensoussan
10068d5fd0 changed the extension of the README from .markdown to .md 2009-11-03 10:01:03 +08:00
Michael Bensoussan
044ad9052a update the README title with a direct link 2009-11-03 10:01:03 +08:00
Michael Bensoussan
fbc162b9a3 update the README for more readbility 2009-11-03 10:01:03 +08:00
Michael Bensoussan
a1bb3ee44d from txt to markdown 2009-11-03 10:01:02 +08:00
visionmedia
50cf4351a6 Consistant splits using " " instead of ","
This was used in several other areas, and IMO is easier to read
and since nothing is multi-word then we misewell use " "
2009-10-27 08:40:59 +08:00
John Resig
81f65ce339 Pull in the Sizzle library dynamically using a submodule and make it part of the jQuery build process. 2009-10-26 18:23:31 -04:00
John Resig
bbffc99f7c Moved a bunch of methods out of the jQuery-specific Sizzle code into more-appropriate files, in jQuery itself. 2009-10-26 18:07:57 -04:00
Jon Evans
b7ccc58afe fix sed statement used to extract the date 2009-10-23 23:13:47 +08:00
John Resig
bcbd06b66f Removed the revision info and fixed the date pull to work against git log instead of SVN. 2009-10-23 03:25:40 -04:00
John Resig
c7006d2fa5 Removing the old speed perf directory (the current one is in the main 'speed' directory). 2009-10-22 22:06:20 -04:00
John Resig
04ab794410 Only need Java if you want to build a minified version of jQuery. 2009-10-22 21:57:45 -04:00
John Resig
b2e9680116 Removed the 'lite' build option (no longer used) and updated the README. 2009-10-22 21:56:49 -04:00
John Resig
cd05cac37f Cleaned out the build directory - a lot of old files that weren't being used anymore. 2009-10-22 21:54:34 -04:00
John Resig
1ef930b384 Removing some old text files. 2009-10-22 21:45:36 -04:00
John Resig
4c85dec058 Added the submodule init/update to the Makefile for 'make test' and updated the README to be more current. 2009-10-22 21:44:44 -04:00
John Resig
920238d485 Pull in QUnit using a submodule. In order to build jQuery (and run the tests) you'll need to do 'git submodule init' and 'git submodule update' after checkout. 2009-10-22 21:39:41 -04:00
John Resig
4a51b12b95 We don't want to filter out the qunit file. 2009-10-22 21:26:28 -04:00
John Resig
098a2bb4d0 Fixed the cleaning method to support namespaced elements. Thanks to einaros for the patch recommendation. Fixes #5358. 2009-10-12 16:26:01 +00:00
John Resig
4b5a680f77 Fixed == change in ready. 2009-10-08 18:13:07 +00:00
John Resig
805832afc7 Updated the jQuery suite to use the updated QUnit CSS styling. 2009-09-29 22:48:25 +00:00
John Resig
3b5de9df40 Updated the jQuery test suite to use the new QUnit file names. 2009-09-29 22:25:02 +00:00
John Resig
0256edbd6f Moved the jQuery-specific test suite CSS into a separate file. 2009-09-29 22:09:21 +00:00
John Resig
b996026e38 Adapted the jQuery test suite to handle the toolbar moving inline. 2009-09-29 21:40:17 +00:00
John Resig
b0306cc3a6 Updated the jQuery suite to use the new 'qunit-' prefix on specific elements. 2009-09-29 21:34:12 +00:00
John Resig
dfeb8140fa Fixed the q() method to use same instead of isSet. 2009-09-29 21:22:35 +00:00
John Resig
4bda398e6a Switched from using QUnit's isObj/isSet to the more robust same method. 2009-09-29 19:49:43 +00:00
John Resig
f8b7d391e6 Moved some jQuery-specific test methods into the core module. 2009-09-29 18:11:10 +00:00
John Resig
8df82d2b04 Moved the init test script off into a separate file. 2009-09-29 18:06:16 +00:00
John Resig
69e6e53555 Adding in .unwrap() support, thanks to Ben Alman! Fixes #5191. 2009-09-25 21:41:21 +00:00
John Resig
70b9aed422 Removed the trailing endline from the version. 2009-09-25 21:36:40 +00:00