git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
192bab8
)
Merge branch 'csshooks'
author
John Resig
<jeresig@gmail.com>
Fri, 17 Sep 2010 18:32:43 +0000
(14:32 -0400)
committer
John Resig
<jeresig@gmail.com>
Fri, 17 Sep 2010 18:32:43 +0000
(14:32 -0400)
src/ajax.js
patch
|
blob
|
history
src/core.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
52a5a22
..
78d9b24
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-686,6
+686,9
@@
jQuery.extend( jQuery.ajax, {
});
+// Does this browser support XHR requests?
+jQuery.support.ajax = !!jQuery.ajaxSettings.xhr();
+
// For backwards compatibility
jQuery.extend( jQuery.ajax );
diff --git
a/src/core.js
b/src/core.js
index
d6ef236
..
0fec6e1
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-826,6
+826,6
@@
function doScrollCheck() {
}
// Expose jQuery to the global object
-return window.jQuery = window.$ = jQuery;
+return (window.jQuery = window.$ = jQuery);
})();