jquery.git
17 years agoNow have accurate version information built into jquery.js - will build it into the...
John Resig [Tue, 10 Oct 2006 00:23:18 +0000 (00:23 +0000)]
Now have accurate version information built into jquery.js - will build it into the docs and test suite next.

17 years agoFixed second test for load()
Jörn Zaefferer [Mon, 9 Oct 2006 07:24:46 +0000 (07:24 +0000)]
Fixed second test for load()

17 years agoFixed bug in testsuite, tried to fix problem with :selected in Opera 8.54: It does...
Jörn Zaefferer [Sun, 8 Oct 2006 16:19:51 +0000 (16:19 +0000)]
Fixed bug in testsuite, tried to fix problem with :selected in Opera 8.54: It does not work the default selections

17 years agoFixed test for load(url)
Jörn Zaefferer [Sun, 8 Oct 2006 14:34:13 +0000 (14:34 +0000)]
Fixed test for load(url)

17 years agoChanged readFile to java-based read function to handle \r\n, fixes docs and test...
Jörn Zaefferer [Sun, 8 Oct 2006 09:57:17 +0000 (09:57 +0000)]
Changed readFile to java-based read function to handle \r\n, fixes docs and test, lite still broken

17 years ago* Applied patch for #204
Brandon Aaron [Sat, 7 Oct 2006 20:06:52 +0000 (20:06 +0000)]
* Applied patch for #204
* Removed references to $ within dimensions.js

17 years agoRemoved (hopefully) all references to $ within the jQuery code itself
Jörn Zaefferer [Fri, 6 Oct 2006 17:15:33 +0000 (17:15 +0000)]
Removed (hopefully) all references to $ within the jQuery code itself

17 years agoAdded experimental fix for bug #214
Jörn Zaefferer [Fri, 6 Oct 2006 15:05:58 +0000 (15:05 +0000)]
Added experimental fix for bug #214

17 years agoTypo; Extended description for $("<div>stuff</div") example (ticket #218)
Jörn Zaefferer [Fri, 6 Oct 2006 14:26:52 +0000 (14:26 +0000)]
Typo; Extended description for $("<div>stuff</div") example (ticket #218)

17 years agoAdded test for bug #232
Jörn Zaefferer [Fri, 6 Oct 2006 14:14:00 +0000 (14:14 +0000)]
Added test for bug #232

17 years agoFixed bug #222 (again)
Jörn Zaefferer [Fri, 6 Oct 2006 14:05:30 +0000 (14:05 +0000)]
Fixed bug #222 (again)

17 years agoAdded fix for bug #204, yet untested
Jörn Zaefferer [Fri, 6 Oct 2006 13:00:38 +0000 (13:00 +0000)]
Added fix for bug #204, yet untested

17 years agoadded Brandon's offset function
Paul Bakaus [Thu, 5 Oct 2006 07:40:31 +0000 (07:40 +0000)]
added Brandon's offset function

17 years agoFixed bug #225 again
Jörn Zaefferer [Tue, 3 Oct 2006 18:33:02 +0000 (18:33 +0000)]
Fixed bug #225 again

17 years agoAdded * You can have as many $(document).ready events on your page as you like.
Jörn Zaefferer [Tue, 3 Oct 2006 14:58:57 +0000 (14:58 +0000)]
Added * You can have as many $(document).ready events on your page as you like.

17 years agoremoved the test for bug #164, the test suite is unable to handle the resulting error...
Jörn Zaefferer [Tue, 3 Oct 2006 10:55:09 +0000 (10:55 +0000)]
removed the test for bug #164, the test suite is unable to handle the resulting error in IE correctly. I'll add it back later.

17 years agoI had to put the check for 'typeof console != "undefined"' back in, otherwise IE...
Jörn Zaefferer [Tue, 3 Oct 2006 10:54:55 +0000 (10:54 +0000)]
I had to put the check for 'typeof console != "undefined"' back in, otherwise IE complains about console not being defined.

17 years agocss('display') works slightly differently in Safari. Also, the test suite having...
John Resig [Tue, 3 Oct 2006 09:40:16 +0000 (09:40 +0000)]
css('display') works slightly differently in Safari. Also, the test suite having <input checked/> doesn't work in Safari, at all. Fixed to be standards compliant.

17 years agoRemoved ifelse, scheduled for a later release, if at all
Jörn Zaefferer [Tue, 3 Oct 2006 09:35:19 +0000 (09:35 +0000)]
Removed ifelse, scheduled for a later release, if at all

17 years agoFixed minor bug with Safari and the test suite.
John Resig [Tue, 3 Oct 2006 08:45:16 +0000 (08:45 +0000)]
Fixed minor bug with Safari and the test suite.

17 years agoFixed test suite bug with Opera with the .attr('action') test. Opera always returns...
John Resig [Tue, 3 Oct 2006 08:37:58 +0000 (08:37 +0000)]
Fixed test suite bug with Opera with the .attr('action') test. Opera always returns a fully-qualified URL, not just 'formaction'. Boooo.

17 years agoAdded .filter("expr",ifCallback,elseCallback) (works for find, not, clone, add, etc.).
John Resig [Tue, 3 Oct 2006 07:47:45 +0000 (07:47 +0000)]
Added .filter("expr",ifCallback,elseCallback) (works for find, not, clone, add, etc.).
Fixed bug in Makefile.
Fixed bug in expression parsing.
Removed need for Q in expression parsing.

17 years agoReset ajaxTimeout after running timeout tests
Jörn Zaefferer [Mon, 2 Oct 2006 16:58:33 +0000 (16:58 +0000)]
Reset ajaxTimeout after running timeout tests

17 years agoSmall fixes to tests
Jörn Zaefferer [Mon, 2 Oct 2006 16:45:35 +0000 (16:45 +0000)]
Small fixes to tests

17 years agoRemoved test for bug #206, wontfix
Jörn Zaefferer [Mon, 2 Oct 2006 16:29:48 +0000 (16:29 +0000)]
Removed test for bug #206, wontfix

17 years agoAdded ifelse method, fixed bug #160 for IE6
Jörn Zaefferer [Mon, 2 Oct 2006 16:15:33 +0000 (16:15 +0000)]
Added ifelse method, fixed bug #160 for IE6

17 years agoAdded fix for bug #222
Jörn Zaefferer [Sun, 1 Oct 2006 17:40:12 +0000 (17:40 +0000)]
Added fix for bug #222

17 years agoFixed bug #215
Jörn Zaefferer [Sun, 1 Oct 2006 15:00:16 +0000 (15:00 +0000)]
Fixed bug #215

17 years agoFixed bug #165 (ignoring the exception) and #156 (ifModified option added to $.ajax)
Jörn Zaefferer [Sun, 1 Oct 2006 14:32:29 +0000 (14:32 +0000)]
Fixed bug #165 (ignoring the exception) and #156 (ifModified option added to $.ajax)

17 years agoAdded local timeout option for $.ajax + test
Jörn Zaefferer [Sun, 1 Oct 2006 14:15:56 +0000 (14:15 +0000)]
Added local timeout option for $.ajax + test

17 years agoAdded tests for global and local ajax handlers, added global option to $.ajax to...
Jörn Zaefferer [Sun, 1 Oct 2006 14:05:10 +0000 (14:05 +0000)]
Added tests for global and local ajax handlers, added global option to $.ajax to allow suppressing of global events

17 years agoMarked load() as private, won't work anyway
Jörn Zaefferer [Sun, 1 Oct 2006 13:15:11 +0000 (13:15 +0000)]
Marked load() as private, won't work anyway

17 years agoRefactored and fixed test suite to run async tests
Jörn Zaefferer [Sat, 30 Sep 2006 14:34:49 +0000 (14:34 +0000)]
Refactored and fixed test suite to run async tests

17 years agoRemoved event test for load; Added fix for bug #225
Jörn Zaefferer [Sat, 30 Sep 2006 14:34:01 +0000 (14:34 +0000)]
Removed event test for load; Added fix for bug #225

17 years agoAdded tests, fixed getScript and getJSON, fixed comment in $.ajax
Jörn Zaefferer [Sat, 30 Sep 2006 14:32:49 +0000 (14:32 +0000)]
Added tests, fixed getScript and getJSON, fixed comment in $.ajax

17 years agoAdded docs for jQuery.browser, fixed doc for prev, cleaned up tests
Jörn Zaefferer [Sat, 30 Sep 2006 14:30:31 +0000 (14:30 +0000)]
Added docs for jQuery.browser, fixed doc for prev, cleaned up tests

17 years agoDon't include any plugins (or other files by accident) as default
Jörn Zaefferer [Sat, 23 Sep 2006 13:18:13 +0000 (13:18 +0000)]
Don't include any plugins (or other files by accident) as default

17 years agoImproved jquery target to allow inclusion of plugins directly (specify via the PLUGIN...
Jörn Zaefferer [Sat, 23 Sep 2006 13:11:19 +0000 (13:11 +0000)]
Improved jquery target to allow inclusion of plugins directly (specify via the PLUGINS property), making a merge build easier; min/pack work, lite/docs/test ignores content of plugins files

17 years agoModified test for bug #164
Jörn Zaefferer [Sat, 23 Sep 2006 08:34:50 +0000 (08:34 +0000)]
Modified test for bug #164

17 years agoAdded targets to allow building jquery with plugins; Creating the raw source files...
Jörn Zaefferer [Sat, 23 Sep 2006 08:21:17 +0000 (08:21 +0000)]
Added targets to allow building jquery with plugins; Creating the raw source files with plugins added works, packed/docs/tests not yet

17 years agoAdded linebreak for better readability when adding more files
Jörn Zaefferer [Sat, 23 Sep 2006 08:20:04 +0000 (08:20 +0000)]
Added linebreak for better readability when adding more files

17 years agoFixed bug #180 as suggested, changing xxx.constructor == Function to typeof xxx ...
Jörn Zaefferer [Fri, 22 Sep 2006 21:43:20 +0000 (21:43 +0000)]
Fixed bug #180 as suggested, changing xxx.constructor == Function to typeof xxx = "function"

17 years agoAdded some more tests for weird form selection expressions
Jörn Zaefferer [Fri, 22 Sep 2006 21:26:03 +0000 (21:26 +0000)]
Added some more tests for weird form selection expressions

17 years agoChanged implementation of removeClass: No more regex, tested and working in FF1.5...
Jörn Zaefferer [Fri, 22 Sep 2006 21:07:04 +0000 (21:07 +0000)]
Changed implementation of removeClass: No more regex, tested and working in FF1.5, IE6 and Opera9 (tests added)- see jquery.com/discuss/2006-September/012088/

17 years agoAdded tests for children()
Jörn Zaefferer [Tue, 19 Sep 2006 10:51:24 +0000 (10:51 +0000)]
Added tests for children()

17 years agoClear timeout (prevents freezing of test suite when async tests fail) when start...
Jörn Zaefferer [Tue, 19 Sep 2006 10:18:57 +0000 (10:18 +0000)]
Clear timeout (prevents freezing of test suite when async tests fail) when start is called

17 years agoRefactored test suite to allow async tests (use stop() before starting an async reque...
Jörn Zaefferer [Tue, 19 Sep 2006 09:49:22 +0000 (09:49 +0000)]
Refactored test suite to allow async tests (use stop() before starting an async request, use start() when finished), added test for bug #164

17 years agoAdded test for feature #206
Jörn Zaefferer [Mon, 18 Sep 2006 12:58:17 +0000 (12:58 +0000)]
Added test for feature #206

17 years agoAdded some tests for name(), id() and title()
Jörn Zaefferer [Sun, 17 Sep 2006 11:58:44 +0000 (11:58 +0000)]
Added some tests for name(), id() and title()

17 years agoAdded expressions for feature #69 (form element selectors), needs some documentation...
Jörn Zaefferer [Sun, 17 Sep 2006 11:43:16 +0000 (11:43 +0000)]
Added expressions for feature #69 (form element selectors), needs some documentation in the wiki when the next official release is out

17 years agoRefactored test suite once more, as proposed by John
Jörn Zaefferer [Sun, 17 Sep 2006 11:41:44 +0000 (11:41 +0000)]
Refactored test suite once more, as proposed by John

17 years agoAdded proposed fix for bug #201
Jörn Zaefferer [Sun, 17 Sep 2006 10:10:25 +0000 (10:10 +0000)]
Added proposed fix for bug #201

17 years agoAdded .htaccess file for docs directory.
John Resig [Sat, 16 Sep 2006 23:22:29 +0000 (23:22 +0000)]
Added .htaccess file for docs directory.

17 years agoWeird, I never committed the docs for mouseover.
John Resig [Sat, 16 Sep 2006 22:48:53 +0000 (22:48 +0000)]
Weird, I never committed the docs for mouseover.

17 years agoAdded test for bug #190
Jörn Zaefferer [Sat, 16 Sep 2006 17:09:54 +0000 (17:09 +0000)]
Added test for bug #190

17 years agoFixed bug #168
Jörn Zaefferer [Sat, 16 Sep 2006 16:26:30 +0000 (16:26 +0000)]
Fixed bug #168

17 years agoFixed typo, thanks Patrick
Jörn Zaefferer [Sat, 16 Sep 2006 16:15:46 +0000 (16:15 +0000)]
Fixed typo, thanks Patrick

17 years agoFixed bug #178
Jörn Zaefferer [Sat, 16 Sep 2006 15:50:35 +0000 (15:50 +0000)]
Fixed bug #178

17 years agoAdded fix for bug #175; Added docs for extend(Object), for any plugin developer API...
Jörn Zaefferer [Sat, 16 Sep 2006 15:41:07 +0000 (15:41 +0000)]
Added fix for bug #175; Added docs for extend(Object), for any plugin developer API docs to come

17 years agoResolved bug #191 as won't fix, removed the failing test and changed docs accordingly.
Jörn Zaefferer [Sat, 16 Sep 2006 15:16:42 +0000 (15:16 +0000)]
Resolved bug #191 as won't fix, removed the failing test and changed docs accordingly.

17 years agoFixed bug #194, added regression tests
Jörn Zaefferer [Sat, 16 Sep 2006 14:57:15 +0000 (14:57 +0000)]
Fixed bug #194, added regression tests

17 years agoRefactored test suite: tests subdir not needed anymore
Jörn Zaefferer [Sat, 16 Sep 2006 12:23:28 +0000 (12:23 +0000)]
Refactored test suite: tests subdir not needed anymore

17 years agoRefactored test suite: All tests are now compiled into one file, runs much faster...
Jörn Zaefferer [Sat, 16 Sep 2006 12:19:56 +0000 (12:19 +0000)]
Refactored test suite: All tests are now compiled into one file, runs much faster and does not require ugly synchronization; Changed build.xml (tested) and Makefile (not tested!); Replaced calls to cmpOK() with ok(), removed cmpOK(); Tests can now call reset() to be able to always test against the unmodified test setup

17 years agoAdded proposed fix for bug #185
Jörn Zaefferer [Fri, 15 Sep 2006 17:52:30 +0000 (17:52 +0000)]
Added proposed fix for bug #185

17 years agoFixed bug #147, required some (ugly) modifications: changed function jQuery(...)...
Jörn Zaefferer [Fri, 15 Sep 2006 14:51:55 +0000 (14:51 +0000)]
Fixed bug #147, required some (ugly) modifications: changed function jQuery(...){} to jQuery = function(...){}, necessary because IE parses all function name(){} declarations before executing inline code; added intro.js and outro.js to both build.xml (tested) and Makefile (not tested) to include "if(typeof window.jQuery == "undefined") { ... }

17 years agoFixed typo.
John Resig [Thu, 14 Sep 2006 22:28:25 +0000 (22:28 +0000)]
Fixed typo.

17 years agoAdded quick fix for event triggering, while passing in data.
John Resig [Thu, 14 Sep 2006 22:26:42 +0000 (22:26 +0000)]
Added quick fix for event triggering, while passing in data.

17 years agoAdded test to verify bug #160, had to modify fixture (index.html)
Jörn Zaefferer [Sat, 9 Sep 2006 23:21:30 +0000 (23:21 +0000)]
Added test to verify bug #160, had to modify fixture (index.html)

17 years agoAdded test to verify bug #185
Jörn Zaefferer [Sat, 9 Sep 2006 17:56:08 +0000 (17:56 +0000)]
Added test to verify bug #185

17 years agoAdded test for $.find to verify bug #178
Jörn Zaefferer [Sat, 9 Sep 2006 17:42:51 +0000 (17:42 +0000)]
Added test for $.find to verify bug #178

17 years agoAdded test for both siblings() and siblings(String) to verify bug #168
Jörn Zaefferer [Sat, 9 Sep 2006 17:26:51 +0000 (17:26 +0000)]
Added test for both siblings() and siblings(String) to verify bug #168

17 years agoAdded test for attr('checked', {true|false}) (bug #167)
Jörn Zaefferer [Sat, 9 Sep 2006 17:12:26 +0000 (17:12 +0000)]
Added test for attr('checked', {true|false}) (bug #167)

17 years agoFixed documentation for bind(String, Function) - added a small fix for the first...
Jörn Zaefferer [Sat, 9 Sep 2006 08:36:47 +0000 (08:36 +0000)]
Fixed documentation for bind(String, Function) - added a small fix for the first example

17 years agoFixed documentation for bind(String, Function)
Jörn Zaefferer [Sat, 9 Sep 2006 08:31:07 +0000 (08:31 +0000)]
Fixed documentation for bind(String, Function)

17 years agoFixed issue with getAttribute not existing in IE.
John Resig [Fri, 8 Sep 2006 23:17:00 +0000 (23:17 +0000)]
Fixed issue with getAttribute not existing in IE.

17 years agoMinor documentation fixes.
John Resig [Fri, 8 Sep 2006 19:18:49 +0000 (19:18 +0000)]
Minor documentation fixes.

17 years agoAdded more test for attr, one for filter; Added test to check IE issue $('input'...
Jörn Zaefferer [Fri, 8 Sep 2006 17:48:21 +0000 (17:48 +0000)]
Added more test for attr, one for filter; Added test to check IE issue $('input').attr('name', 'something'), modified fixture to test this

17 years agoTouched up the docs and formatting.
John Resig [Fri, 8 Sep 2006 10:44:32 +0000 (10:44 +0000)]
Touched up the docs and formatting.

17 years agoAdded a couple new AJAX methods and finished documenting everything.
John Resig [Fri, 8 Sep 2006 10:18:46 +0000 (10:18 +0000)]
Added a couple new AJAX methods and finished documenting everything.

17 years agoinitial version of the new cross-browser compatible dimensions plugin, which replaces...
Paul Bakaus [Fri, 8 Sep 2006 09:37:29 +0000 (09:37 +0000)]
initial version of the new cross-browser compatible dimensions plugin, which replaces height() and width() and adds other convenient stuff.

17 years agoModified test for wrap(String), added test for toggle(fn, fn)
Jörn Zaefferer [Thu, 7 Sep 2006 08:12:12 +0000 (08:12 +0000)]
Modified test for wrap(String), added test for toggle(fn, fn)

17 years agoFixed bug with $.map() not showing in the docs.
John Resig [Tue, 5 Sep 2006 20:20:16 +0000 (20:20 +0000)]
Fixed bug with $.map() not showing in the docs.

17 years agoFixed missing brackets (d'oh)
Jörn Zaefferer [Tue, 5 Sep 2006 20:00:36 +0000 (20:00 +0000)]
Fixed missing brackets (d'oh)

17 years agoRefactored the testsuite code with the hope in mind to make the test suite run faster
Jörn Zaefferer [Tue, 5 Sep 2006 19:50:13 +0000 (19:50 +0000)]
Refactored the testsuite code with the hope in mind to make the test suite run faster

17 years agoModified example for css(String) as proposed in the list (concerning camlCase for...
Jörn Zaefferer [Tue, 5 Sep 2006 17:58:22 +0000 (17:58 +0000)]
Modified example for css(String) as proposed in the list (concerning camlCase for dashed properties like font-weight); Modified test to cache test fixture instead of reloading it, should make the test suite run faster

17 years agoTestcase now logs exceptions if a console is avaiable, makes it easier to find bugs...
Jörn Zaefferer [Tue, 5 Sep 2006 15:05:56 +0000 (15:05 +0000)]
Testcase now logs exceptions if a console is avaiable, makes it easier to find bugs; Added test for all base events

17 years agoMade a bunch of fixes to the docs, per Sam's request. Also, did some re-organization...
John Resig [Tue, 5 Sep 2006 06:21:35 +0000 (06:21 +0000)]
Made a bunch of fixes to the docs, per Sam's request. Also, did some re-organization of the order of the function names.

17 years agoquick fix for JSMin build
Franck Marcia [Mon, 4 Sep 2006 19:58:06 +0000 (19:58 +0000)]
quick fix for JSMin build

17 years agoImproved test suite to reset fixture after each test, added selects to test ':selecte...
Jörn Zaefferer [Mon, 4 Sep 2006 04:51:57 +0000 (04:51 +0000)]
Improved test suite to reset fixture after each test, added selects to test ':selected'; Added docs for index(obj); Modified is(expr) to return false for an invalid expression, changed docs, too; Added lots of testcases; Changed filename of testfiles: adding leading zeros

17 years agoTypos
Franck Marcia [Sat, 2 Sep 2006 14:50:30 +0000 (14:50 +0000)]
Typos

17 years agonew build using JSMin
Franck Marcia [Sat, 2 Sep 2006 11:47:54 +0000 (11:47 +0000)]
new build using JSMin

17 years agoAdded two quick semicolon fixes.
John Resig [Sat, 2 Sep 2006 09:23:07 +0000 (09:23 +0000)]
Added two quick semicolon fixes.

17 years agoFixed bug with jQuery: height computation for hidden elements
Klaus Hartl [Fri, 1 Sep 2006 16:04:50 +0000 (16:04 +0000)]
Fixed bug with jQuery: height computation for hidden elements

17 years agoAdded style sheet for the category documentation.
John Resig [Fri, 1 Sep 2006 07:41:59 +0000 (07:41 +0000)]
Added style sheet for the category documentation.

17 years agoAbout half done documenting the AJAX module.
John Resig [Fri, 1 Sep 2006 06:50:35 +0000 (06:50 +0000)]
About half done documenting the AJAX module.

17 years agoDocumented the slideToggle() and animate() functions.
John Resig [Fri, 1 Sep 2006 06:31:44 +0000 (06:31 +0000)]
Documented the slideToggle() and animate() functions.

17 years agoDocumented some more functions.
John Resig [Fri, 1 Sep 2006 06:22:39 +0000 (06:22 +0000)]
Documented some more functions.

17 years agoLots of documentation overhaul - much more documented, cat output works better now.
John Resig [Fri, 1 Sep 2006 05:52:26 +0000 (05:52 +0000)]
Lots of documentation overhaul - much more documented, cat output works better now.

17 years agoFixed two bugs with jQuery: One with height computation, one with .find(expr,fn)...
John Resig [Fri, 1 Sep 2006 02:43:54 +0000 (02:43 +0000)]
Fixed two bugs with jQuery: One with height computation, one with .find(expr,fn) not working properly. Also, fixed a bunch of styling with the docs. Finally, added documentation for the $() function.

17 years agoFix check for browser.mozilla so that Safari is not flagged as mozilla.
Corey Jewett [Thu, 31 Aug 2006 23:30:29 +0000 (23:30 +0000)]
Fix check for browser.mozilla so that Safari is not flagged as mozilla.