jquery.git
17 years agoQuick code optimization in trigger.
John Resig [Mon, 22 Jan 2007 00:38:57 +0000 (00:38 +0000)]
Quick code optimization in trigger.

17 years agoFixed some more nodeName inconsistencies.
John Resig [Mon, 22 Jan 2007 00:28:23 +0000 (00:28 +0000)]
Fixed some more nodeName inconsistencies.

17 years agoFixed an issue with child selectors and XML documents (nodeName isn't in all-caps...
John Resig [Mon, 22 Jan 2007 00:25:16 +0000 (00:25 +0000)]
Fixed an issue with child selectors and XML documents (nodeName isn't in all-caps, and it was assumed that it was).

17 years agoFixed issue with .add()ing individual elements - and with .add()ing form elements...
John Resig [Sat, 20 Jan 2007 04:16:25 +0000 (04:16 +0000)]
Fixed issue with .add()ing individual elements - and with .add()ing form elements (since they report a .length.

17 years agoAdded a fix for an undefined param being passed to a load.
John Resig [Sat, 20 Jan 2007 04:04:02 +0000 (04:04 +0000)]
Added a fix for an undefined param being passed to a load.

17 years agoAdded a fix for $("#noexist").attr("id") breaking.
John Resig [Sat, 20 Jan 2007 03:58:57 +0000 (03:58 +0000)]
Added a fix for $("#noexist").attr("id") breaking.

17 years agoSimplified check for XMLHttpRequest (saving a few bytes) and fixed load()-test
Jörn Zaefferer [Wed, 17 Jan 2007 14:17:09 +0000 (14:17 +0000)]
Simplified check for XMLHttpRequest (saving a few bytes) and fixed load()-test

17 years agoprop fix takes also "line-height" into account (see #812)
Jörn Zaefferer [Wed, 17 Jan 2007 13:37:51 +0000 (13:37 +0000)]
prop fix takes also "line-height" into account (see #812)

17 years agoprop fix takes also "zoom" into account (see #803)
Jörn Zaefferer [Wed, 17 Jan 2007 13:33:17 +0000 (13:33 +0000)]
prop fix takes also "zoom" into account (see #803)

17 years agoFix for #806
Jörn Zaefferer [Wed, 17 Jan 2007 13:24:44 +0000 (13:24 +0000)]
Fix for #806

17 years agoReverted optimization to jQuery function, fixing broken jQuery-as-context, added...
Jörn Zaefferer [Wed, 17 Jan 2007 10:43:10 +0000 (10:43 +0000)]
Reverted optimization to jQuery function, fixing broken jQuery-as-context, added test (fix for #804)

17 years agoFixed typoooo.
Jörn Zaefferer [Wed, 17 Jan 2007 10:29:19 +0000 (10:29 +0000)]
Fixed typoooo.

17 years agoImproved docs for $.merge, clearly stating that the first argument is altered.
Jörn Zaefferer [Wed, 17 Jan 2007 10:03:31 +0000 (10:03 +0000)]
Improved docs for $.merge, clearly stating that the first argument is altered.

17 years agoFix for #812
Jörn Zaefferer [Tue, 16 Jan 2007 14:19:01 +0000 (14:19 +0000)]
Fix for #812

17 years agoFix bug #814.
Mike Alsup [Tue, 16 Jan 2007 11:38:33 +0000 (11:38 +0000)]
Fix bug #814.

17 years agoEnhanced attr(String, Function) to pass through index of current element
Jörn Zaefferer [Tue, 16 Jan 2007 09:18:21 +0000 (09:18 +0000)]
Enhanced attr(String, Function) to pass through index of current element

17 years agoFixed show/hide to return selected objects, not only those that are shown/hidden
Jörn Zaefferer [Mon, 15 Jan 2007 10:29:13 +0000 (10:29 +0000)]
Fixed show/hide to return selected objects, not only those that are shown/hidden

17 years agoTagged version 1.1 of jQuery.
John Resig [Mon, 15 Jan 2007 02:25:29 +0000 (02:25 +0000)]
Tagged version 1.1 of jQuery.

17 years agoFixed two FF JS warnings
Jörn Zaefferer [Sun, 14 Jan 2007 22:51:55 +0000 (22:51 +0000)]
Fixed two FF JS warnings

17 years agoRemoved useless and misleading example
Jörn Zaefferer [Sun, 14 Jan 2007 22:37:33 +0000 (22:37 +0000)]
Removed useless and misleading example

17 years agoUpdated testsuite: To prevent crashes in Safari, each test waits for 250 milliseconds...
Jörn Zaefferer [Sun, 14 Jan 2007 22:36:54 +0000 (22:36 +0000)]
Updated testsuite: To prevent crashes in Safari, each test waits for 250 milliseconds before running the next

17 years ago2006 -> 2007.
John Resig [Sun, 14 Jan 2007 22:25:27 +0000 (22:25 +0000)]
2006 -> 2007.

17 years agoMade a slight adjustment to $("expr") to make it faster.
John Resig [Sun, 14 Jan 2007 22:03:11 +0000 (22:03 +0000)]
Made a slight adjustment to $("expr") to make it faster.

17 years agoConverted a lot of for loops to use jQuery.each() instead.
John Resig [Sun, 14 Jan 2007 21:49:59 +0000 (21:49 +0000)]
Converted a lot of for loops to use jQuery.each() instead.

17 years agoFixed the issues with .text() working incorrectly.
John Resig [Sun, 14 Jan 2007 21:09:43 +0000 (21:09 +0000)]
Fixed the issues with .text() working incorrectly.

17 years agoAdded back in the .load() fix.
John Resig [Sun, 14 Jan 2007 20:07:36 +0000 (20:07 +0000)]
Added back in the .load() fix.

17 years agoMerged in some wiki fixes into the main docs.
John Resig [Sun, 14 Jan 2007 19:49:58 +0000 (19:49 +0000)]
Merged in some wiki fixes into the main docs.

17 years agoAdded a fix, and tests, for appending empty sets of elements/strings.
John Resig [Sun, 14 Jan 2007 19:30:40 +0000 (19:30 +0000)]
Added a fix, and tests, for appending empty sets of elements/strings.

17 years agoAdded a fix for :nth-child(even/odd).
John Resig [Sun, 14 Jan 2007 17:54:54 +0000 (17:54 +0000)]
Added a fix for :nth-child(even/odd).

17 years agoAdded a fix for $("div").filter("*") never ending.
John Resig [Sun, 14 Jan 2007 17:45:49 +0000 (17:45 +0000)]
Added a fix for $("div").filter("*") never ending.

17 years agoFixed a few docs
Jörn Zaefferer [Sun, 14 Jan 2007 15:47:32 +0000 (15:47 +0000)]
Fixed a few docs

17 years agoFix wrong type check in jQuery.prop
Jörn Zaefferer [Sun, 14 Jan 2007 13:48:41 +0000 (13:48 +0000)]
Fix wrong type check in jQuery.prop

17 years agoRemoved a bunch more bytes from the total file size.
John Resig [Sun, 14 Jan 2007 07:17:41 +0000 (07:17 +0000)]
Removed a bunch more bytes from the total file size.

17 years agoAdded in jQuery.isFunction().
John Resig [Sun, 14 Jan 2007 06:22:20 +0000 (06:22 +0000)]
Added in jQuery.isFunction().

17 years agoTouched up the code a little bit, saving some bytes.
John Resig [Sun, 14 Jan 2007 06:02:56 +0000 (06:02 +0000)]
Touched up the code a little bit, saving some bytes.

17 years agoFixed an issue with animated .toggle() not working.
John Resig [Sat, 13 Jan 2007 22:38:11 +0000 (22:38 +0000)]
Fixed an issue with animated .toggle() not working.

17 years agoAdded a fix for triggered events not being cancellable. (You couldn't return false...
John Resig [Sat, 13 Jan 2007 22:29:59 +0000 (22:29 +0000)]
Added a fix for triggered events not being cancellable. (You couldn't return false to stop a .submit(), for example.)

17 years agoAdded minor regexp optimization.
John Resig [Fri, 12 Jan 2007 07:32:15 +0000 (07:32 +0000)]
Added minor regexp optimization.

17 years agoRemoved unnecessary uses of typeof undefined.
John Resig [Fri, 12 Jan 2007 03:53:55 +0000 (03:53 +0000)]
Removed unnecessary uses of typeof undefined.

17 years agoFixed that stupid type once more
Jörn Zaefferer [Thu, 11 Jan 2007 19:32:18 +0000 (19:32 +0000)]
Fixed that stupid type once more

17 years agoAdded a fix for .append( Number )
John Resig [Thu, 11 Jan 2007 18:44:53 +0000 (18:44 +0000)]
Added a fix for .append( Number )

17 years agoAPI docs: Hacked multiple argument types like "Element|jQuery|String" representation...
Jörn Zaefferer [Thu, 11 Jan 2007 18:40:34 +0000 (18:40 +0000)]
API docs: Hacked multiple argument types like "Element|jQuery|String" representation into multiple elements, each with theier own tooltip

17 years agoAdded a fix for .html("") not working correctly.
John Resig [Thu, 11 Jan 2007 17:24:14 +0000 (17:24 +0000)]
Added a fix for .html("") not working correctly.

17 years agoFixed .not([]) not working properly.
John Resig [Thu, 11 Jan 2007 16:59:41 +0000 (16:59 +0000)]
Fixed .not([]) not working properly.

17 years agoFixed missing typo
Jörn Zaefferer [Thu, 11 Jan 2007 13:57:40 +0000 (13:57 +0000)]
Fixed missing typo

17 years agoGoing to 1.1b.
John Resig [Thu, 11 Jan 2007 07:41:56 +0000 (07:41 +0000)]
Going to 1.1b.

17 years agoAdded a fix for $("object *") in IE7.
John Resig [Thu, 11 Jan 2007 07:31:40 +0000 (07:31 +0000)]
Added a fix for $("object *") in IE7.

17 years agoFixed bug with .text(), it only returned the text for the first element.
John Resig [Thu, 11 Jan 2007 04:52:41 +0000 (04:52 +0000)]
Fixed bug with .text(), it only returned the text for the first element.

17 years agoFixed the Safari crashing bug. So much hate.
John Resig [Thu, 11 Jan 2007 03:57:19 +0000 (03:57 +0000)]
Fixed the Safari crashing bug. So much hate.

17 years agoAdded a fix for <script>s getting executed twice when .load()ed.
John Resig [Wed, 10 Jan 2007 21:31:18 +0000 (21:31 +0000)]
Added a fix for <script>s getting executed twice when .load()ed.

17 years agoFixed docs for .clone(Boolean).
John Resig [Wed, 10 Jan 2007 21:19:20 +0000 (21:19 +0000)]
Fixed docs for .clone(Boolean).

17 years agoModified ready to event to pass jQuery object, allowing users to avoid the ugly custo...
Jörn Zaefferer [Wed, 10 Jan 2007 18:46:41 +0000 (18:46 +0000)]
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)

17 years agoRemoved support for //foo | //bar - please use "," instead.
John Resig [Wed, 10 Jan 2007 18:26:13 +0000 (18:26 +0000)]
Removed support for //foo | //bar - please use "," instead.

17 years agoAdded support .css("left",30). Fixed up the multiFilter code.
John Resig [Wed, 10 Jan 2007 18:06:19 +0000 (18:06 +0000)]
Added support .css("left",30). Fixed up the multiFilter code.

17 years agoLots of improvements. Added support for .not( jQuery("...") ) and support for multi...
John Resig [Wed, 10 Jan 2007 17:54:42 +0000 (17:54 +0000)]
Lots of improvements. Added support for .not( jQuery("...") ) and support for multi filters: .filter("foo,bar") .parent("div, .class"), etc.

17 years agoAdded back in height and width - they now behave more appropriately.
John Resig [Wed, 10 Jan 2007 16:40:32 +0000 (16:40 +0000)]
Added back in height and width - they now behave more appropriately.

17 years ago.remove("...") removed too much.
John Resig [Wed, 10 Jan 2007 16:13:48 +0000 (16:13 +0000)]
.remove("...") removed too much.

17 years agoWe've decided against .set() and are moving back to .pushStack().
John Resig [Wed, 10 Jan 2007 16:00:22 +0000 (16:00 +0000)]
We've decided against .set() and are moving back to .pushStack().

17 years agoFixed eval code (Thanks Fil)
Jörn Zaefferer [Wed, 10 Jan 2007 15:04:54 +0000 (15:04 +0000)]
Fixed eval code (Thanks Fil)

17 years agoDisable error reporting in PHP test files
Jörn Zaefferer [Wed, 10 Jan 2007 15:03:40 +0000 (15:03 +0000)]
Disable error reporting in PHP test files

17 years agoFixed tests for gt/lt
Jörn Zaefferer [Wed, 10 Jan 2007 11:11:04 +0000 (11:11 +0000)]
Fixed tests for gt/lt

17 years agoAdded tests for almost everything in jquery/jquery.js; fixed some docs and removed...
Jörn Zaefferer [Wed, 10 Jan 2007 11:08:54 +0000 (11:08 +0000)]
Added tests for almost everything in jquery/jquery.js; fixed some docs and removed the now useless docs for $(jQuery)

17 years agoFixed add to also create HTML on-the-fly by using jQuery() instead of jQuery.find()
Jörn Zaefferer [Wed, 10 Jan 2007 09:53:18 +0000 (09:53 +0000)]
Fixed add to also create HTML on-the-fly by using jQuery() instead of jQuery.find()

17 years agoAdded tests for add() and fixed #770
Jörn Zaefferer [Wed, 10 Jan 2007 09:37:22 +0000 (09:37 +0000)]
Added tests for add() and fixed #770

17 years agoFixed a bug with .append() and <td>/<tr>.
John Resig [Wed, 10 Jan 2007 07:00:02 +0000 (07:00 +0000)]
Fixed a bug with .append() and <td>/<tr>.

17 years agoMore jQuery.speed() fixes.
John Resig [Wed, 10 Jan 2007 01:06:22 +0000 (01:06 +0000)]
More jQuery.speed() fixes.

17 years agoFixed a bug in jQuery.speed(), when there's no properties provided.
John Resig [Wed, 10 Jan 2007 00:46:10 +0000 (00:46 +0000)]
Fixed a bug in jQuery.speed(), when there's no properties provided.

17 years agotypo
Jörn Zaefferer [Tue, 9 Jan 2007 21:21:01 +0000 (21:21 +0000)]
typo

17 years agoMoved event object docs to wiki
Jörn Zaefferer [Tue, 9 Jan 2007 19:54:21 +0000 (19:54 +0000)]
Moved event object docs to wiki

17 years agoRemoved duplicated show/hide/toggle, added test for toggle(), started documentation...
Jörn Zaefferer [Tue, 9 Jan 2007 17:15:22 +0000 (17:15 +0000)]
Removed duplicated show/hide/toggle, added test for toggle(), started documentation of event properties/methods

17 years agoAdded tests for comma-separated expressions in filter, not, parent, parents, siblings...
Jörn Zaefferer [Tue, 9 Jan 2007 16:14:22 +0000 (16:14 +0000)]
Added tests for comma-separated expressions in filter, not, parent, parents, siblings, prev and next.

17 years agoFixed .next() and .prev().
John Resig [Tue, 9 Jan 2007 15:44:24 +0000 (15:44 +0000)]
Fixed .next() and .prev().

17 years agoAdded test for next/prev
Jörn Zaefferer [Tue, 9 Jan 2007 15:27:00 +0000 (15:27 +0000)]
Added test for next/prev

17 years agoAdded test and fixed parents()
Jörn Zaefferer [Tue, 9 Jan 2007 15:19:40 +0000 (15:19 +0000)]
Added test and fixed parents()

17 years agoAdded support for (basic) nested parens and (basic) nested brackets. You can now...
John Resig [Tue, 9 Jan 2007 06:04:54 +0000 (06:04 +0000)]
Added support for (basic) nested parens and (basic) nested brackets. You can now do: div:not(.foo[a:not(.even)]) or div[p[a.even]].

17 years agoAdded test for toggleClass, fixed jQuery.className.has to accept both node and classN...
Jörn Zaefferer [Mon, 8 Jan 2007 16:12:20 +0000 (16:12 +0000)]
Added test for toggleClass, fixed jQuery.className.has to accept both node and className (#762)

17 years agoTouched up the changelog.
John Resig [Mon, 8 Jan 2007 06:08:37 +0000 (06:08 +0000)]
Touched up the changelog.

17 years agoWe're actually at Version 1.1a right now.
John Resig [Mon, 8 Jan 2007 04:51:39 +0000 (04:51 +0000)]
We're actually at Version 1.1a right now.

17 years agoPruned a lot of extra code out and improved how .html() works.
John Resig [Mon, 8 Jan 2007 02:39:10 +0000 (02:39 +0000)]
Pruned a lot of extra code out and improved how .html() works.

17 years ago.text( String ) now works as you'd expect it to, plus it's much faster and smaller...
John Resig [Mon, 8 Jan 2007 01:26:48 +0000 (01:26 +0000)]
.text( String ) now works as you'd expect it to, plus it's much faster and smaller - which is good.

17 years agoFixed a bug in the jQuery.prop() addition and fixed the test cases to represent the...
John Resig [Mon, 8 Jan 2007 01:17:28 +0000 (01:17 +0000)]
Fixed a bug in the jQuery.prop() addition and fixed the test cases to represent the current set of features.

17 years agoI broke out the ${...} functionality into a separate plugin so that we can develop...
John Resig [Mon, 8 Jan 2007 01:12:21 +0000 (01:12 +0000)]
I broke out the ${...} functionality into a separate plugin so that we can develop it further. I left a hook in jquery.js so that this can be done, plus I left in the function() functionality.

17 years agoFixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test...
John Resig [Mon, 8 Jan 2007 00:12:41 +0000 (00:12 +0000)]
Fixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test suite from trying to run Ajax tests locally.

17 years agoImplemented #756, making text(String) really useful
Jörn Zaefferer [Sun, 7 Jan 2007 23:59:13 +0000 (23:59 +0000)]
Implemented #756, making text(String) really useful

17 years agoUpdated changelog
Jörn Zaefferer [Sun, 7 Jan 2007 23:42:15 +0000 (23:42 +0000)]
Updated changelog

17 years agoFix for #758
Jörn Zaefferer [Sun, 7 Jan 2007 23:38:37 +0000 (23:38 +0000)]
Fix for #758

17 years agoFixed #753 in Opera and IE
Jörn Zaefferer [Sun, 7 Jan 2007 23:19:13 +0000 (23:19 +0000)]
Fixed #753 in Opera and IE

17 years agoImplemented #753
Jörn Zaefferer [Sun, 7 Jan 2007 23:01:49 +0000 (23:01 +0000)]
Implemented #753

17 years agoAdded support for [@foo] against DOM object properties (not just attributes).
John Resig [Sun, 7 Jan 2007 22:51:41 +0000 (22:51 +0000)]
Added support for [@foo] against DOM object properties (not just attributes).

17 years agoFixed problem with $("div",$("body")) breaking (returning an array, of length one...
John Resig [Sun, 7 Jan 2007 22:29:15 +0000 (22:29 +0000)]
Fixed problem with $("div",$("body")) breaking (returning an array, of length one, containing undefined).

17 years agoReorganized the different effects to be in fx.js, instead of jquery.js - and cleaned...
John Resig [Sun, 7 Jan 2007 21:43:38 +0000 (21:43 +0000)]
Reorganized the different effects to be in fx.js, instead of jquery.js - and cleaned up some of the documentation.

17 years agoUpdated param method to encode name as well as value (per spec: http://www.w3.org...
Mike Alsup [Sun, 7 Jan 2007 20:56:17 +0000 (20:56 +0000)]
Updated param method to encode name as well as value (per spec:  w3.org/TR/html4/interact/forms.html#h-17.13.4.1)

17 years agoFixed up the easing documentation.
John Resig [Sun, 7 Jan 2007 19:56:29 +0000 (19:56 +0000)]
Fixed up the easing documentation.

17 years agoTest for #753
Jörn Zaefferer [Sun, 7 Jan 2007 12:13:32 +0000 (12:13 +0000)]
Test for #753

17 years agoFix for #754
Jörn Zaefferer [Sun, 7 Jan 2007 11:15:31 +0000 (11:15 +0000)]
Fix for #754

17 years agoFixed test for object/param selection (thanks Andrea)
Jörn Zaefferer [Sun, 7 Jan 2007 10:26:58 +0000 (10:26 +0000)]
Fixed test for object/param selection (thanks Andrea)

17 years agoImproved the categories of a bunch of docs, upped the version to 1.1.
John Resig [Sun, 7 Jan 2007 09:20:19 +0000 (09:20 +0000)]
Improved the categories of a bunch of docs, upped the version to 1.1.

17 years agoStarted cleaning up fx, made easing easier to use.
John Resig [Sun, 7 Jan 2007 00:28:31 +0000 (00:28 +0000)]
Started cleaning up fx, made easing easier to use.

17 years agoFixed the docs for noConflict, fixed a bug with pager.
John Resig [Sat, 6 Jan 2007 22:34:12 +0000 (22:34 +0000)]
Fixed the docs for noConflict, fixed a bug with pager.

17 years agoCleaned up some spacing and braces.
John Resig [Sat, 6 Jan 2007 06:18:02 +0000 (06:18 +0000)]
Cleaned up some spacing and braces.