aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make sure no exception is thrown if no event handler is found (which is the ↵jeresig2010-01-131-0/+6
| | | | case for applets, objects, and embeds).
* Make sure that null params aren't traversed. Fixes #5794.jeresig2010-01-131-1/+1
|
* Send data if a DELETE Ajax request is done. Fixes #5752.jeresig2010-01-131-1/+1
|
* Make sure that disconnected nodes aren't sorted/uniqued. Fixes #5791.jeresig2010-01-131-3/+9
|
* Fixed typo in logic, also disabled function setters in this case to allow ↵jeresig2010-01-122-3/+3
| | | | the functions to passthrough and bind.
* Make sure that the xhr object still exists after the abort is called.jeresig2010-01-121-1/+3
|
* Make sure that the focusin and focusout easy-bind methods are exposed.jeresig2010-01-121-1/+1
|
* Make sure oldAbort is only called if the xhr object still exists.jeresig2010-01-121-2/+1
|
* Simplified some of the logic for handling the ajax aborts, making sure that ↵jeresig2010-01-121-12/+9
| | | | ajaxStop isn't called twice.
* ajaxStop was getting called too many times, separated some of the logic into ↵jeresig2010-01-121-4/+7
| | | | the abort method itself.
* Make sure that Opera fires events after an aborted Ajax attempt. Fixes #5787.jeresig2010-01-121-1/+19
|
* browser version detection revised for opera >= 10, which was reporting ↵Paul Irish2010-01-121-2/+2
| | | | itself as 9.8 due to their new policy
* fixed typo in commentsNeeraj Singh2010-01-121-1/+1
|
* Make sure we do the malformed JSON check for all both JSON.parse and new ↵jeresig2010-01-111-6/+9
| | | | Function (this helps to create uniformity between browser implementations of JSON.parse - like where Chrome allows some malformed strings. Thanks to DBJDBJ for the heads-up.
* 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.