aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure that wrapInner works on elements that have no contents. Fixes #3552.jeresig2010-01-111-1/+8
|
* Final pass at fixing #5785. Need to make sure that inner-nodes are detached ↵jeresig2010-01-111-1/+7
| | | | before the remove() occurs (and it should still occur, the nodes are being obliterated.
* Make sure we use detach instead of remove in replaceWith. Fixes #5785.jeresig2010-01-111-1/+1
|
* Revert "Adding in backwards-compatiblity support for ↵jeresig2010-01-111-18/+5
| | | | | | jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code." This reverts commit e9d5947b4abbc052046585227892da0adcd56caf.
* Make sure that submit event is still bound for regular form submit events. ↵jeresig2010-01-111-0/+3
| | | | Thanks to Mark Gibson for the fix suggestion.
* Merge branch 'setterargs'jeresig2010-01-074-83/+97
|\
| * Re-ordering the args to setOffset() in case people were relying upon the old ↵jeresig2010-01-071-3/+3
| | | | | | | | order (doubtful).
| * Added in support for .offset(Function).jeresig2010-01-071-10/+15
| |
| * Make sure that .html(Function) gets the correct previous value.jeresig2010-01-071-0/+8
| |
| * Removed .removeAttr(Function), it didn't really make sense.jeresig2010-01-071-8/+1
| |
| * Make sure the state is passed in to the toggleClass attribute function.jeresig2010-01-071-1/+1
| |
| * Fixed some bugs relating to the setter arg change in val and html. Also ↵jeresig2010-01-072-18/+13
| | | | | | | | optimized the code in val a bit.
| * Fixing some bugs in the re-tooling of toggleClass, adding in some ↵jeresig2010-01-061-10/+11
| | | | | | | | performance optimizations.
| * A first pass at making sure that all the setter function arguments receive ↵jeresig2010-01-063-60/+72
| | | | | | | | the index of the element and a relevant value to work with. Fixes #5763.
* | Make sure the exception has some level of parity with the error from json2.js.jeresig2010-01-071-1/+1
| |
* | Make sure that a parsererror is thrown whenever malformed JSON comes back ↵jeresig2010-01-071-6/+12
| | | | | | | | from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support.
* | Back out the try/catch logic from around JSON.parse. We should always try to ↵jeresig2010-01-071-3/+3
| | | | | | | | use it, otherwise security will suffer.
* | There's enough logic going on in jQuery.ajaxSettings.xhr to warrant ↵jeresig2010-01-071-6/+5
|/ | | | splitting the function based upon the functionality.
* Merge branch 'master' of github.com:jquery/jqueryjeresig2010-01-061-4/+4
|\
| * Make sure to do a deep copy on arrays. #5750Filipe Fortes2010-01-071-4/+4
| |
* | Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - ↵jeresig2010-01-061-5/+18
|/ | | | and immediately deprecating it. Please explicitly use jQuery(document) in your code.
* Added in support for content-type sniffing for scripts. Fixes #5718.jeresig2010-01-061-6/+4
|
* Detect JSON Ajax requests by the response content-type (like is done with ↵Rick Waldron2010-01-051-1/+2
| | | | XML). Fixes #5709.
* Merging in jQuery.proxy() branch.jeresig2010-01-052-29/+47
|\
| * Added in a holdover jQuery.event.guid for back-compat (two plugins use it: ↵jeresig2010-01-051-0/+4
| | | | | | | | mousewheel and a datepicker). Plugin authors should work to stop using jQuery.event.guid and jQuery.event.proxy ASAP.
| * Added in jQuery.proxy(obj, name), like the method described in Secrets of ↵jeresig2009-12-311-7/+18
| | | | | | | | the JavaScript Ninja and in Dojo's Hitch, and added in some unit tests.
| * Moved jQuery.proxy() into core.jeresig2009-12-312-20/+23
| |
| * Remove the .bind(name, fn, thisObject) and promote jQuery.event.proxy() to ↵jeresig2009-12-311-30/+30
| | | | | | | | jQuery.proxy() as alternative to handling scoping on callbacks. Fixes #5736.
* | Merge branch 'useragent'jeresig2010-01-051-10/+38
|\ \
| * | Rewrite of jQuery.browser to become engine-centric, rather than ↵jeresig2010-01-051-10/+38
| | | | | | | | | | | | browser-centric. Also attempt to determine the engine version in a smarter fashion, less prone to error. Finally, enhanced the test suite with 255 useragent strings from http://user-agent-string.info/download for testing. jQuery.browser.safari is now deprecated, use jQuery.browser.webkit instead.
* | | Try to use the native JSON parser in all cases and fallback to the old ↵jeresig2010-01-051-2/+4
|/ / | | | | | | 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.
* | Make sure that the ActiveX exception is caught if it's unable to be loaded. ↵jeresig2010-01-051-3/+12
| | | | | | | | Fixes #2849.
* | Try to use XMLHttpRequest in more cases in IE 7. Thanks to Matt Kruse and ↵jeresig2010-01-051-4/+5
| | | | | | | | Sam Collett for the suggestions. Fixes #3623, #2849, #5338, and #5529.
* | Update the copyright from 2009 to 2010.John Resig2010-01-031-2/+2
| |
* | Merge branch 'bug-5735'jeresig2009-12-314-31/+20
|\ \
| * | Rather than declaring empty anonymous functions all around, introduce and ↵jeresig2009-12-314-4/+6
| | | | | | | | | | | | use a single empty function. Thanks to Matt Kruse for the suggestion.
| * | Experiment switching to using onreadystatechange rather than a setInterval ↵jeresig2009-12-301-29/+16
| |/ | | | | | | for Ajax requests. Fixes #5735.
* / When .bind('unload') was called it accidentally went recursive, from ↵jeresig2009-12-311-3/+5
|/ | | | 1bac61655b6c323ab4bcfc65b0d95c1587dd8503. Fixes #5688.
* Make a feature detect for the attribute selected code. Fixes #5702.jeresig2009-12-222-8/+15
|
* The option isn't, necessarily, hidden when this occurs.jeresig2009-12-221-1/+1
|
* Make sure that selected works in Safari on options in optgroups. Fixes #5701.jeresig2009-12-221-3/+8
|
* Merge branch 'master' of github.com:jquery/jqueryjeresig2009-12-221-9/+12
|\
| * Moved jQuery.param "traditional" flag into jQuery.ajaxSettings, can now be ↵Ben Alman2009-12-231-9/+12
| | | | | | | | overridden via 2nd argument to jQuery.param
* | Forgot to make sure that oldData actually had data in it before the copy ↵jeresig2009-12-221-1/+1
|/ | | | attempt.
* Explicitly re-bind the events on clone. Copying over the data isn't enough. ↵jeresig2009-12-221-1/+12
| | | | Fixes #5681.
* The logic for specified option values was already handled by .val(), removed ↵jeresig2009-12-221-3/+1
| | | | the unnecessary code.
* Make sure that the correct value is being pulled from checkboxes in Webkit. ↵jeresig2009-12-222-4/+16
| | | | Fixes #5699.
* Make sure that the correct value is retreived for options that have no value ↵jeresig2009-12-221-1/+3
| | | | specified, in IE 6. Continues to fix #5697.
* Made sure that the .val() logic for setting radios and checkboxes was ↵jeresig2009-12-221-1/+1
| | | | correct. Fixes #5698.
* Fixed the issue where getting an empty value was impossible. Fixes #5697.jeresig2009-12-221-1/+1
|