]> source.dussan.org Git - jquery.git/log
jquery.git
14 years agoTry to use the native JSON parser in all cases and fallback to the old technique...
jeresig [Tue, 5 Jan 2010 22:33:41 +0000 (17:33 -0500)]
Try to use the native JSON parser in all cases and fallback to the old technique otherwise. This allows us to also handle cases where the JSON parser is unable to parse JSON-like strings correctly (e.g. {foo:bar}) which is something that worked before but would stop working with the switch to the new parser.

14 years agoMake sure that the ActiveX exception is caught if it's unable to be loaded. Fixes...
jeresig [Tue, 5 Jan 2010 16:35:11 +0000 (11:35 -0500)]
Make sure that the ActiveX exception is caught if it's unable to be loaded. Fixes #2849.

14 years agoTry to use XMLHttpRequest in more cases in IE 7. Thanks to Matt Kruse and Sam Collett...
jeresig [Tue, 5 Jan 2010 15:57:30 +0000 (10:57 -0500)]
Try to use XMLHttpRequest in more cases in IE 7. Thanks to Matt Kruse and Sam Collett for the suggestions. Fixes #3623, #2849, #5338, and #5529.

14 years agoUpdate the copyright from 2009 to 2010.
John Resig [Mon, 4 Jan 2010 01:04:24 +0000 (20:04 -0500)]
Update the copyright from 2009 to 2010.

14 years agoOops, Rakefile was generating the wrong file.
jeresig [Sun, 3 Jan 2010 17:54:41 +0000 (12:54 -0500)]
Oops, Rakefile was generating the wrong file.

14 years agoMerge branch 'bug-5735'
jeresig [Thu, 31 Dec 2009 19:49:01 +0000 (14:49 -0500)]
Merge branch 'bug-5735'

14 years agoAllow the Makefile to be more resiliant to broken builds and handle redirecting the...
jeresig [Thu, 31 Dec 2009 14:59:16 +0000 (09:59 -0500)]
Allow the Makefile to be more resiliant to broken builds and handle redirecting the output better in more shells. Thanks to 'candlerb' on jquery-dev for the suggestion.

14 years agoRather than declaring empty anonymous functions all around, introduce and use a singl...
jeresig [Thu, 31 Dec 2009 14:50:49 +0000 (09:50 -0500)]
Rather than declaring empty anonymous functions all around, introduce and use a single empty function. Thanks to Matt Kruse for the suggestion.

14 years agoWhen .bind('unload') was called it accidentally went recursive, from 1bac61655b6c323a...
jeresig [Thu, 31 Dec 2009 05:49:53 +0000 (00:49 -0500)]
When .bind('unload') was called it accidentally went recursive, from 1bac61655b6c323ab4bcfc65b0d95c1587dd8503. Fixes #5688.

14 years agoExperiment switching to using onreadystatechange rather than a setInterval for Ajax...
jeresig [Thu, 31 Dec 2009 04:53:06 +0000 (23:53 -0500)]
Experiment switching to using onreadystatechange rather than a setInterval for Ajax requests. Fixes #5735.

14 years agoMake a feature detect for the attribute selected code. Fixes #5702.
jeresig [Tue, 22 Dec 2009 20:46:54 +0000 (15:46 -0500)]
Make a feature detect for the attribute selected code. Fixes #5702.

14 years agoThe option isn't, necessarily, hidden when this occurs.
jeresig [Tue, 22 Dec 2009 20:06:27 +0000 (15:06 -0500)]
The option isn't, necessarily, hidden when this occurs.

14 years agoMake sure that selected works in Safari on options in optgroups. Fixes #5701.
jeresig [Tue, 22 Dec 2009 20:02:52 +0000 (15:02 -0500)]
Make sure that selected works in Safari on options in optgroups. Fixes #5701.

14 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Tue, 22 Dec 2009 18:53:04 +0000 (13:53 -0500)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoForgot to make sure that oldData actually had data in it before the copy attempt.
jeresig [Tue, 22 Dec 2009 18:28:46 +0000 (13:28 -0500)]
Forgot to make sure that oldData actually had data in it before the copy attempt.

14 years agoMoved jQuery.param "traditional" flag into jQuery.ajaxSettings, can now be overridden...
Ben Alman [Tue, 22 Dec 2009 13:09:56 +0000 (21:09 +0800)]
Moved jQuery.param "traditional" flag into jQuery.ajaxSettings, can now be overridden via 2nd argument to jQuery.param

14 years agoExplicitly re-bind the events on clone. Copying over the data isn't enough. Fixes...
jeresig [Tue, 22 Dec 2009 17:04:17 +0000 (12:04 -0500)]
Explicitly re-bind the events on clone. Copying over the data isn't enough. Fixes #5681.

14 years agoAdd some extra tests to make sure we can get the value of hyphenated CSS properties...
jeresig [Tue, 22 Dec 2009 16:54:54 +0000 (11:54 -0500)]
Add some extra tests to make sure we can get the value of hyphenated CSS properties, for #3732.

14 years agoThe logic for specified option values was already handled by .val(), removed the...
jeresig [Tue, 22 Dec 2009 07:03:41 +0000 (02:03 -0500)]
The logic for specified option values was already handled by .val(), removed the unnecessary code.

14 years agoMake sure that the correct value is being pulled from checkboxes in Webkit. Fixes...
jeresig [Tue, 22 Dec 2009 07:00:46 +0000 (02:00 -0500)]
Make sure that the correct value is being pulled from checkboxes in Webkit. Fixes #5699.

14 years agoMake sure that the correct value is retreived for options that have no value specifie...
jeresig [Tue, 22 Dec 2009 06:28:37 +0000 (01:28 -0500)]
Make sure that the correct value is retreived for options that have no value specified, in IE 6. Continues to fix #5697.

14 years agoMade sure that the .val() logic for setting radios and checkboxes was correct. Fixes...
jeresig [Tue, 22 Dec 2009 06:18:49 +0000 (01:18 -0500)]
Made sure that the .val() logic for setting radios and checkboxes was correct. Fixes #5698.

14 years agoFixed the issue where getting an empty value was impossible. Fixes #5697.
jeresig [Tue, 22 Dec 2009 05:24:23 +0000 (00:24 -0500)]
Fixed the issue where getting an empty value was impossible. Fixes #5697.

14 years agoUpdated the README to reference the Closure Compiler instead of YUI Min. Thanks for...
jeresig [Tue, 22 Dec 2009 04:23:03 +0000 (23:23 -0500)]
Updated the README to reference the Closure Compiler instead of YUI Min. Thanks for the heads-up @_carumba.

14 years agoFixed spelling mistake noted in dc6b7ce3469eaadb37a151d449e8d36571d1894.
jeresig [Tue, 22 Dec 2009 01:19:49 +0000 (20:19 -0500)]
Fixed spelling mistake noted in dc6b7ce3469eaadb37a151d449e8d36571d1894.

14 years agoStandardize on using double-quotes for string literals.
jeresig [Tue, 22 Dec 2009 01:13:16 +0000 (20:13 -0500)]
Standardize on using double-quotes for string literals.

14 years agoMade a number of spacing changes to bring the code more-inline with the jQuery Core...
jeresig [Tue, 22 Dec 2009 00:58:13 +0000 (19:58 -0500)]
Made a number of spacing changes to bring the code more-inline with the jQuery Core Style Guideline.

14 years agoTweaked the syntax of withinElement a bit.
jeresig [Mon, 21 Dec 2009 23:06:23 +0000 (18:06 -0500)]
Tweaked the syntax of withinElement a bit.

14 years agoTweaked a couple cases where == was used instead of ===.
jeresig [Mon, 21 Dec 2009 23:02:02 +0000 (18:02 -0500)]
Tweaked a couple cases where == was used instead of ===.

14 years agoMake sure that the beforeactivate event isn't accidentally prevented.
Alexander Farkas [Mon, 21 Dec 2009 21:24:03 +0000 (16:24 -0500)]
Make sure that the beforeactivate event isn't accidentally prevented.

14 years agoStop trying to emulate the focus/blur event in IE, doesn't work as one might expect...
Jörn Zaefferer [Mon, 21 Dec 2009 21:10:21 +0000 (16:10 -0500)]
Stop trying to emulate the focus/blur event in IE, doesn't work as one might expect, anyway. Instead, implement the focusin/focusout events in all other browsers - which creates a much better parity across all browsers. Uses event capturing instead of bubbling to make it happen. Thanks to Alexander for the recommendation and to Joern Zaefferer for the original focus/blur delegation code.

14 years agoUsed the patch from Alexander as the basis for a rewrite of the IE change event logic...
Alexander Farkas [Mon, 21 Dec 2009 20:32:32 +0000 (15:32 -0500)]
Used the patch from Alexander as the basis for a rewrite of the IE change event logic. Now has full parity with the regular change event in other browsers: Works with regular bind, works better with multiple selects, works as a regular change event (note test suite changes), works with readonly/disabled inputs, and much more. The original patch had a number of problems, including firing the change event too many times, not bubblinb properly, and not handling clicks on multi-selects properly - that should all be fixed now. Thanks Alexander for the patch pushing in the right direction.

14 years agoMake sure we use instead of in the delegate test.
jeresig [Mon, 21 Dec 2009 17:54:39 +0000 (12:54 -0500)]
Make sure we use  instead of  in the delegate test.

14 years agoMoved logic for handling .animate({}), doesn't queue anymore. Fixes #5459.
jeresig [Mon, 21 Dec 2009 16:11:03 +0000 (11:11 -0500)]
Moved logic for handling .animate({}), doesn't queue anymore. Fixes #5459.

14 years agoBringing Sizzle test suite changes back in.
John Resig [Sat, 19 Dec 2009 22:50:56 +0000 (17:50 -0500)]
Bringing Sizzle test suite changes back in.

14 years agoMake sure that we don't bind the onunload event in Opera.
jeresig [Sat, 19 Dec 2009 03:35:02 +0000 (22:35 -0500)]
Make sure that we don't bind the onunload event in Opera.

14 years agoSwitched from using YUI Compressor to Google Compiler. Minified and Gzipped filesize...
jeresig [Sat, 19 Dec 2009 02:23:26 +0000 (21:23 -0500)]
Switched from using YUI Compressor to Google Compiler. Minified and Gzipped filesize reduced to 22,839 bytes from 26,169 bytes (13% decrease in filesize). Sizzle copyright was merged into the main header (since it's removed automatically). Still passes all unit tests.

14 years agoNo need to use the conditional comment for binding the onunload event in IE.
jeresig [Sat, 19 Dec 2009 01:29:22 +0000 (20:29 -0500)]
No need to use the conditional comment for binding the onunload event in IE.

14 years agoUpdating the source version to 1.4b1pre.
jeresig [Sat, 19 Dec 2009 00:58:15 +0000 (19:58 -0500)]
Updating the source version to 1.4b1pre.

14 years agoTagging the 1.4a2 release. 1.4a2
jeresig [Sat, 19 Dec 2009 00:58:11 +0000 (19:58 -0500)]
Tagging the 1.4a2 release.

14 years agoUpdating the source version to 1.4b1pre.
jeresig [Sat, 19 Dec 2009 00:50:24 +0000 (19:50 -0500)]
Updating the source version to 1.4b1pre.

14 years agoTagging the 1.4a2 release.
jeresig [Sat, 19 Dec 2009 00:50:20 +0000 (19:50 -0500)]
Tagging the 1.4a2 release.

14 years agoMove the test results list above the test HTML to avoid test suite layout weirdness.
jeresig [Sat, 19 Dec 2009 00:47:53 +0000 (19:47 -0500)]
Move the test results list above the test HTML to avoid test suite layout weirdness.

14 years agoThe constructor check for isPlainObject was redundant, everything still passes withou...
jeresig [Sat, 19 Dec 2009 00:43:04 +0000 (19:43 -0500)]
The constructor check for isPlainObject was redundant, everything still passes without it.

14 years agoAdded additional checks for DOM nodes and window to isPlainObject, IE 8 was still...
jeresig [Sat, 19 Dec 2009 00:36:35 +0000 (19:36 -0500)]
Added additional checks for DOM nodes and window to isPlainObject, IE 8 was still letting those pass through. Fixes #5669.

14 years agoTemporarily disabling test for bug #4299.
jeresig [Sat, 19 Dec 2009 00:24:19 +0000 (19:24 -0500)]
Temporarily disabling test for bug #4299.

14 years agoFixed the spacing from the last commit.
jeresig [Fri, 18 Dec 2009 17:43:35 +0000 (12:43 -0500)]
Fixed the spacing from the last commit.

14 years agoDisabled the passthrough .attr(method_name) functionality. You can now use it if...
jeresig [Fri, 18 Dec 2009 17:41:53 +0000 (12:41 -0500)]
Disabled the passthrough .attr(method_name) functionality. You can now use it if you do: .attr({method_name: value}, true) OR as an easy initialization method: jQuery('<div/>', {html: '...', id: 'test'}).

14 years agoMade isPlainObject() supporting null, undefined, and window values on IE too. Also...
Robert Katic [Fri, 18 Dec 2009 16:34:20 +0000 (00:34 +0800)]
Made isPlainObject() supporting null, undefined, and window values on IE too. Also added some related tests. Fixes #5669.

14 years agoBacking out the change from 841f9ff7a1815b521044aeeb39ccbe70fa688201, it was ineffect...
jeresig [Fri, 18 Dec 2009 16:30:04 +0000 (11:30 -0500)]
Backing out the change from 841f9ff7a1815b521044aeeb39ccbe70fa688201, it was ineffectual in Internet Explorer. Keeping the broken test case, for now, so that we can check into the issue some more.

14 years agoBrought the attributes module more inline with the jQuery style guidelines.
jeresig [Fri, 18 Dec 2009 16:27:56 +0000 (11:27 -0500)]
Brought the attributes module more inline with the jQuery style guidelines.

14 years agoBringing the effects module closer to being inline with the style guideline.
jeresig [Fri, 18 Dec 2009 16:16:26 +0000 (11:16 -0500)]
Bringing the effects module closer to being inline with the style guideline.

14 years agoRenamed the 'fx' module to 'effects'. Should've been done a long time ago.
jeresig [Fri, 18 Dec 2009 16:01:19 +0000 (11:01 -0500)]
Renamed the 'fx' module to 'effects'. Should've been done a long time ago.

14 years agoRemoved jQuery.fn.contains - didn't match the :contains() selector and confused thing...
jeresig [Fri, 18 Dec 2009 15:54:34 +0000 (10:54 -0500)]
Removed jQuery.fn.contains - didn't match the :contains() selector and confused things. Thanks ajpiano for the tip.

14 years agoIgnore case of script tags to make sure they're removed. Fixes #5668. Thanks to Motty...
Dave Methvin [Thu, 17 Dec 2009 02:13:50 +0000 (10:13 +0800)]
Ignore case of script tags to make sure they're removed. Fixes #5668. Thanks to Motty/Fudgey for the report and Jitter for the patch!

14 years agoAdd new html5 input types to list of serializable types. Older browers handle these...
Dave Methvin [Thu, 17 Dec 2009 02:02:58 +0000 (10:02 +0800)]
Add new html5 input types to list of serializable types. Older browers handle these as type="text" so they should be consistently serialized on both old and new browsers. Fixes #5667.

14 years agoRemoved 'abbr' from self-closing tags list. Fixes #5167.
jeresig [Thu, 17 Dec 2009 20:04:07 +0000 (15:04 -0500)]
Removed 'abbr' from self-closing tags list. Fixes #5167.

14 years agoDefault callbackContext to the $.extended ajax options for 1.3.2 compatibility, per...
Dave Methvin [Tue, 15 Dec 2009 02:45:22 +0000 (10:45 +0800)]
Default callbackContext to the $.extended ajax options for 1.3.2 compatibility, per #5654.

14 years agoReorganized param code slightly to once again define buildParams as a named function...
Ben Alman [Wed, 16 Dec 2009 12:41:56 +0000 (20:41 +0800)]
Reorganized param code slightly to once again define buildParams as a named function expression, as moving it outside the param closure would necessitate moving and rewriting the add function as well.

14 years agoFurther modified jQuery 1.4 .param() method to serialize arrays containing non-scalar...
Ben Alman [Wed, 16 Dec 2009 03:54:12 +0000 (11:54 +0800)]
Further modified jQuery 1.4 .param() method to serialize arrays containing non-scalar values. PHP and jQuery BBQ can both deserialize these structures, while rack (as of 1.0.0) cannot.

14 years agoadded a couple missing semicolons and fixed a typo in the comments
Karl Swedberg [Mon, 14 Dec 2009 15:56:01 +0000 (23:56 +0800)]
added a couple missing semicolons and fixed a typo in the comments

14 years agoFollow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one of the...
jeresig [Thu, 17 Dec 2009 19:18:15 +0000 (14:18 -0500)]
Follow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one of the tests.

14 years agoRevert the changes from 65ebf57c1e5d7fa96536b66d4fcacbafad8dc1e5, they were ineffectu...
jeresig [Thu, 17 Dec 2009 19:17:05 +0000 (14:17 -0500)]
Revert the changes from 65ebf57c1e5d7fa96536b66d4fcacbafad8dc1e5, they were ineffectual against IE's insanity: http://ejohn.org/files/bugs/fragment/ Used a different tactic instead (just don't return a fragment from .parent()). Fixes #5638.

14 years agoReworked some more of the selector tests as well to clean up after themselves.
jeresig [Thu, 17 Dec 2009 18:34:38 +0000 (13:34 -0500)]
Reworked some more of the selector tests as well to clean up after themselves.

14 years agoAdded some more tests around the name tests to catch possible regressions.
jeresig [Thu, 17 Dec 2009 18:23:39 +0000 (13:23 -0500)]
Added some more tests around the name tests to catch possible regressions.

14 years agoMake sure that the node exists before attempting to clone.
jeresig [Thu, 17 Dec 2009 18:15:12 +0000 (13:15 -0500)]
Make sure that the node exists before attempting to clone.

14 years agoStick with just getter/setters in attrFn.
jeresig [Thu, 17 Dec 2009 17:23:04 +0000 (12:23 -0500)]
Stick with just getter/setters in attrFn.

14 years agoMoved readyList check.
jeresig [Thu, 17 Dec 2009 04:09:55 +0000 (23:09 -0500)]
Moved readyList check.

14 years agoMake sure that some height/width is set for the nothiddendiv before checking.
jeresig [Wed, 16 Dec 2009 22:08:10 +0000 (17:08 -0500)]
Make sure that some height/width is set for the nothiddendiv before checking.

14 years agoReverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902.
jeresig [Wed, 16 Dec 2009 21:54:21 +0000 (16:54 -0500)]
Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902.

14 years agoRetooled the arguments.callee-related changes in 98ce35d52b17a033822f31d8a36232222d0d...
jeresig [Wed, 16 Dec 2009 21:45:00 +0000 (16:45 -0500)]
Retooled the arguments.callee-related changes in 98ce35d52b17a033822f31d8a36232222d0d365e to avoid re-declarations where possible.

14 years agoNo need to use jQuery's event system for binding the onunload event in IE.
jeresig [Wed, 16 Dec 2009 20:42:03 +0000 (15:42 -0500)]
No need to use jQuery's event system for binding the onunload event in IE.

14 years agoEnforce that hasClass and removeClass work even with tabs and endlines in class attri...
Batiste Bieler [Mon, 14 Dec 2009 21:24:28 +0000 (16:24 -0500)]
Enforce that hasClass and removeClass work even with tabs and endlines in class attributes. Fixes #5505.

14 years agoDisable getting values using the .attr() function shortcut until the full implication...
jeresig [Mon, 14 Dec 2009 06:15:02 +0000 (01:15 -0500)]
Disable getting values using the .attr() function shortcut until the full implications of which can be explored.

14 years agoMerge branch 'master' of git@github.com:jquery/jquery
John Resig [Fri, 11 Dec 2009 20:53:17 +0000 (12:53 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery

14 years agoFixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f.
John Resig [Fri, 11 Dec 2009 20:49:22 +0000 (12:49 -0800)]
Fixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f.

14 years agoMerge branch 'master' of git@github.com:jquery/jquery
John Resig [Fri, 11 Dec 2009 20:47:55 +0000 (12:47 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery

14 years agoFixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f.
John Resig [Fri, 11 Dec 2009 20:47:41 +0000 (12:47 -0800)]
Fixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f.

14 years agoFixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f.
John Resig [Fri, 11 Dec 2009 19:46:38 +0000 (11:46 -0800)]
Fixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f.

14 years agoMake sure that dynamically-created elements don't have a parent. Fixes #5638.
John Resig [Fri, 11 Dec 2009 01:01:04 +0000 (17:01 -0800)]
Make sure that dynamically-created elements don't have a parent. Fixes #5638.

14 years agocombined jQuery.bind() and jQuery.one() to make them more DRY
Karl Swedberg [Thu, 10 Dec 2009 22:44:30 +0000 (14:44 -0800)]
combined jQuery.bind() and jQuery.one() to make them more DRY

14 years agoRemoved .attr(removeClass) and .attr(each) tests as they don't really make sense.
John Resig [Thu, 10 Dec 2009 22:40:11 +0000 (14:40 -0800)]
Removed .attr(removeClass) and .attr(each) tests as they don't really make sense.

14 years agoMissed the case of bind in the new attr multi-setter.
John Resig [Thu, 10 Dec 2009 22:03:24 +0000 (14:03 -0800)]
Missed the case of bind in the new attr multi-setter.

14 years agoMoved some methods around inbetween core.js and traversing.js. Core methods shouldn...
John Resig [Thu, 10 Dec 2009 17:25:25 +0000 (09:25 -0800)]
Moved some methods around inbetween core.js and traversing.js. Core methods shouldn't rely upon other modules (e.g. the selector engine) wherever possible.

14 years agoMade some minor formatting changes to the access function.
John Resig [Thu, 10 Dec 2009 17:07:19 +0000 (09:07 -0800)]
Made some minor formatting changes to the access function.

14 years agoMade the licensing verbiage a little more explicit. Thanks to Dan Montgomery for...
John Resig [Thu, 10 Dec 2009 07:56:47 +0000 (23:56 -0800)]
Made the licensing verbiage a little more explicit. Thanks to Dan Montgomery for the suggestion.

14 years agoAdding .DS_Store to Git ignore.
John Resig [Thu, 10 Dec 2009 07:49:13 +0000 (23:49 -0800)]
Adding .DS_Store to Git ignore.

14 years agoIgnore html files living in the main directory (likely being used for testing).
John Resig [Thu, 10 Dec 2009 07:45:56 +0000 (23:45 -0800)]
Ignore html files living in the main directory (likely being used for testing).

14 years agoMake sure that the correct args are passed in to the filter callback (and by extensio...
John Resig [Thu, 10 Dec 2009 06:03:14 +0000 (22:03 -0800)]
Make sure that the correct args are passed in to the filter callback (and by extension, the not callback). Fixes #5594.

14 years agoMake sure that calling .width(num) or .height(num) on an empty set returns the empty...
John Resig [Thu, 10 Dec 2009 05:58:29 +0000 (21:58 -0800)]
Make sure that calling .width(num) or .height(num) on an empty set returns the empty set. Fixes #5600.

14 years agoRewrote .merge() (faster and less obtuse now). Fixed #5610.
John Resig [Thu, 10 Dec 2009 05:43:20 +0000 (21:43 -0800)]
Rewrote .merge() (faster and less obtuse now). Fixed #5610.

14 years agoRestrict the attr quick setters to only methods that specifically ask for the functio...
John Resig [Thu, 10 Dec 2009 05:28:33 +0000 (21:28 -0800)]
Restrict the attr quick setters to only methods that specifically ask for the functionality. Fixes #5612.

14 years agoFix up whitespace and a couple of glitches.
Yehuda Katz [Thu, 10 Dec 2009 05:15:49 +0000 (21:15 -0800)]
Fix up whitespace and a couple of glitches.

14 years agoMerge branch 'master' of git@github.com:jquery/jquery
John Resig [Thu, 10 Dec 2009 04:59:12 +0000 (20:59 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery

14 years agoMake sure that the defaultView exists before attempting to get at the computedStyle...
John Resig [Thu, 10 Dec 2009 04:58:49 +0000 (20:58 -0800)]
Make sure that the defaultView exists before attempting to get at the computedStyle (makes it easier to hide items that don't have a view). Fixes #5619.

14 years agoAdd function values to addClass, removeClass, toggleClass, text, and removeAttr
Yehuda Katz [Thu, 10 Dec 2009 04:57:19 +0000 (20:57 -0800)]
Add function values to addClass, removeClass, toggleClass, text, and removeAttr

14 years agoMade sure that css('width') and height returned string values, not numerical values...
John Resig [Thu, 10 Dec 2009 04:51:58 +0000 (20:51 -0800)]
Made sure that css('width') and height returned string values, not numerical values. Fixes #5627.

14 years agoWork around a weird computed number issue in WebKit. Fixes #5145.
John Resig [Thu, 10 Dec 2009 04:37:14 +0000 (20:37 -0800)]
Work around a weird computed number issue in WebKit. Fixes #5145.

14 years agoSwitched jQuery() to represent jQuery([]) instead of jQuery(document).
John Resig [Thu, 10 Dec 2009 04:36:07 +0000 (20:36 -0800)]
Switched jQuery() to represent jQuery([]) instead of jQuery(document).

14 years agoAdd a try/catch to handle the exception thrown by unloaded iframes in IE. Fixes ...
John Resig [Thu, 10 Dec 2009 00:00:59 +0000 (16:00 -0800)]
Add a try/catch to handle the exception thrown by unloaded iframes in IE. Fixes #4280.