git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:jquery/jquery
[jquery.git]
/
src
/
ajax
/
script.js
diff --git
a/src/ajax/script.js
b/src/ajax/script.js
index
b0e576f
..
bdf69dd
100644
(file)
--- a/
src/ajax/script.js
+++ b/
src/ajax/script.js
@@
-14,9
+14,10
@@
jQuery.ajaxSetup({
converters: {
"text script": jQuery.globalEval
}
converters: {
"text script": jQuery.globalEval
}
+});
// Handle cache's special case and global
// Handle cache's special case and global
-}).ajaxPrefilter("script", function(s) {
+jQuery.ajaxPrefilter("script", function(s) {
if ( s.cache === undefined ) {
s.cache = false;
if ( s.cache === undefined ) {
s.cache = false;
@@
-26,9
+27,10
@@
jQuery.ajaxSetup({
s.type = "GET";
s.global = false;
}
s.type = "GET";
s.global = false;
}
+});
// Bind script tag hack transport
// Bind script tag hack transport
-}).ajaxTransport("script", function(s) {
+jQuery.ajaxTransport("script", function(s) {
// This transport only deals with cross domain requests
if ( s.crossDomain ) {
// This transport only deals with cross domain requests
if ( s.crossDomain ) {