jeresig
|
1960f28c0b
|
Make sure no exception is thrown if no event handler is found (which is the case for applets, objects, and embeds).
|
2010-01-13 11:24:54 -05:00 |
|
jeresig
|
05aaa33957
|
Make sure that null params aren't traversed. Fixes #5794.
|
2010-01-13 09:29:01 -05:00 |
|
jeresig
|
23492fdf9f
|
Send data if a DELETE Ajax request is done. Fixes #5752.
|
2010-01-13 00:42:22 -05:00 |
|
jeresig
|
5d49335eac
|
Make sure that disconnected nodes aren't sorted/uniqued. Fixes #5791.
|
2010-01-13 00:12:18 -05:00 |
|
jeresig
|
8e53f7b5d6
|
Fixed typo in logic, also disabled function setters in this case to allow the functions to passthrough and bind.
|
2010-01-12 21:54:06 -05:00 |
|
jeresig
|
b5f077ae6a
|
Make sure that the xhr object still exists after the abort is called.
|
2010-01-12 21:44:37 -05:00 |
|
jeresig
|
1d8b3a9af2
|
Make sure that the focusin and focusout easy-bind methods are exposed.
|
2010-01-12 17:03:34 -05:00 |
|
jeresig
|
61983cbf17
|
Make sure oldAbort is only called if the xhr object still exists.
|
2010-01-12 16:50:59 -05:00 |
|
jeresig
|
dd45c324ec
|
Simplified some of the logic for handling the ajax aborts, making sure that ajaxStop isn't called twice.
|
2010-01-12 10:59:50 -05:00 |
|
jeresig
|
d60b197810
|
ajaxStop was getting called too many times, separated some of the logic into the abort method itself.
|
2010-01-12 10:47:00 -05:00 |
|
jeresig
|
7afe6dcc08
|
Make sure that Opera fires events after an aborted Ajax attempt. Fixes #5787.
|
2010-01-12 10:31:51 -05:00 |
|
Paul Irish
|
7be5ec1248
|
browser version detection revised for opera >= 10, which was reporting itself as 9.8 due to their new policy
|
2010-01-12 11:42:31 +08:00 |
|
Neeraj Singh
|
8d7965a607
|
fixed typo in comments
|
2010-01-12 11:42:22 +08:00 |
|
jeresig
|
44e6beb103
|
Make sure we do the malformed JSON check for all both JSON.parse and new 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.
|
2010-01-11 16:43:21 -05:00 |
|
jeresig
|
23d600c66d
|
Make sure that wrapInner works on elements that have no contents. Fixes #3552.
|
2010-01-11 16:31:31 -05:00 |
|
jeresig
|
3e9ef6f5c0
|
Final pass at fixing #5785. Need to make sure that inner-nodes are detached before the remove() occurs (and it should still occur, the nodes are being obliterated.
|
2010-01-11 16:25:01 -05:00 |
|
jeresig
|
36a98b95c2
|
Make sure we use detach instead of remove in replaceWith. Fixes #5785.
|
2010-01-11 15:57:45 -05:00 |
|
jeresig
|
366039a6f0
|
Revert "Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code."
This reverts commit e9d5947b4a .
|
2010-01-11 13:48:40 -05:00 |
|
jeresig
|
5a0ac24e35
|
Make sure that submit event is still bound for regular form submit events. Thanks to Mark Gibson for the fix suggestion.
|
2010-01-11 12:26:28 -05:00 |
|
jeresig
|
d6d5ed4c68
|
Merge branch 'setterargs'
|
2010-01-07 14:26:06 -05:00 |
|
jeresig
|
0e5370b89c
|
Re-ordering the args to setOffset() in case people were relying upon the old order (doubtful).
|
2010-01-07 14:08:32 -05:00 |
|
jeresig
|
4fa00369f0
|
Added in support for .offset(Function).
|
2010-01-07 14:07:21 -05:00 |
|
jeresig
|
8fa9e9d6d0
|
Make sure that .html(Function) gets the correct previous value.
|
2010-01-07 13:33:30 -05:00 |
|
jeresig
|
a9665bbe9b
|
Make sure the exception has some level of parity with the error from json2.js.
|
2010-01-07 12:25:50 -05:00 |
|
jeresig
|
308d6cdad0
|
Make sure that a parsererror is thrown whenever malformed JSON comes back 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.
|
2010-01-07 12:21:58 -05:00 |
|
jeresig
|
c14fa516ae
|
Back out the try/catch logic from around JSON.parse. We should always try to use it, otherwise security will suffer.
|
2010-01-07 11:54:26 -05:00 |
|
jeresig
|
21e15219be
|
Removed .removeAttr(Function), it didn't really make sense.
|
2010-01-07 11:14:56 -05:00 |
|
jeresig
|
d36b29fa8e
|
Make sure the state is passed in to the toggleClass attribute function.
|
2010-01-07 11:04:21 -05:00 |
|
jeresig
|
c68fbc2071
|
There's enough logic going on in jQuery.ajaxSettings.xhr to warrant splitting the function based upon the functionality.
|
2010-01-07 10:00:55 -05:00 |
|
jeresig
|
4681216c4b
|
Fixed some bugs relating to the setter arg change in val and html. Also optimized the code in val a bit.
|
2010-01-07 09:53:16 -05:00 |
|
jeresig
|
2526e29353
|
Fixing some bugs in the re-tooling of toggleClass, adding in some performance optimizations.
|
2010-01-06 15:23:30 -05:00 |
|
jeresig
|
600d314538
|
A first pass at making sure that all the setter function arguments receive the index of the element and a relevant value to work with. Fixes #5763.
|
2010-01-06 15:08:07 -05:00 |
|
jeresig
|
e424e01c47
|
Merge branch 'master' of github.com:jquery/jquery
|
2010-01-06 11:32:39 -05:00 |
|
jeresig
|
e9d5947b4a
|
Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code.
|
2010-01-06 11:32:29 -05:00 |
|
Filipe Fortes
|
0d1a2c1b11
|
Make sure to do a deep copy on arrays. #5750
|
2010-01-07 00:11:22 +08:00 |
|
jeresig
|
6861b5d4eb
|
Added in support for content-type sniffing for scripts. Fixes #5718.
|
2010-01-06 10:19:38 -05:00 |
|
Rick Waldron
|
787f271052
|
Detect JSON Ajax requests by the response content-type (like is done with XML). Fixes #5709.
|
2010-01-05 19:48:16 -05:00 |
|
jeresig
|
230614b4df
|
Merging in jQuery.proxy() branch.
|
2010-01-05 19:18:39 -05:00 |
|
jeresig
|
8db0dd2c64
|
Added in a holdover jQuery.event.guid for back-compat (two plugins use it: mousewheel and a datepicker). Plugin authors should work to stop using jQuery.event.guid and jQuery.event.proxy ASAP.
|
2010-01-05 19:17:28 -05:00 |
|
jeresig
|
0645b71ee6
|
Merge branch 'useragent'
|
2010-01-05 19:10:42 -05:00 |
|
jeresig
|
ff3645ee05
|
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.
|
2010-01-05 17:33:41 -05:00 |
|
jeresig
|
ffb1867a43
|
Rewrite of jQuery.browser to become engine-centric, rather than 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.
|
2010-01-05 17:01:20 -05:00 |
|
jeresig
|
3f648c4e3a
|
Make sure that the ActiveX exception is caught if it's unable to be loaded. Fixes #2849.
|
2010-01-05 11:35:11 -05:00 |
|
jeresig
|
b2289f3ec1
|
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.
|
2010-01-05 10:57:30 -05:00 |
|
John Resig
|
25ee9cee26
|
Update the copyright from 2009 to 2010.
|
2010-01-03 20:04:24 -05:00 |
|
jeresig
|
1d2b1a57da
|
Added in jQuery.proxy(obj, name), like the method described in Secrets of the JavaScript Ninja and in Dojo's Hitch, and added in some unit tests.
|
2009-12-31 15:17:52 -05:00 |
|
jeresig
|
a5dbca4a06
|
Moved jQuery.proxy() into core.
|
2009-12-31 15:06:45 -05:00 |
|
jeresig
|
40ce7f9830
|
Merge branch 'bug-5735'
|
2009-12-31 14:49:01 -05:00 |
|
jeresig
|
6cb2945837
|
Rather than declaring empty anonymous functions all around, introduce and use a single empty function. Thanks to Matt Kruse for the suggestion.
|
2009-12-31 09:50:49 -05:00 |
|
jeresig
|
ea5d514008
|
When .bind('unload') was called it accidentally went recursive, from 1bac61655b . Fixes #5688.
|
2009-12-31 00:49:53 -05:00 |
|