git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed dataConverters key format.
[jquery.git]
/
src
/
transports
/
jsonp.js
diff --git
a/src/transports/jsonp.js
b/src/transports/jsonp.js
index
6c9fb70
..
a685bb1
100644
(file)
--- a/
src/transports/jsonp.js
+++ b/
src/transports/jsonp.js
@@
-70,18
+70,16
@@
jQuery.xhr.prefilter("json jsonp", function(s) {
}, s.complete ];
// Use data converter to retrieve json after script execution
}, s.complete ];
// Use data converter to retrieve json after script execution
- s.dataConverters["script => json"] = function() {
+ s.dataConverters["script json"] = function() {
if ( ! responseContainer ) {
if ( ! responseContainer ) {
- jQuery.error("Callback '" + jsonpCallback + "' was not called");
+ jQuery.error( jsonpCallback + " was not called" );
}
return responseContainer[ 0 ];
};
// Delegate to script transport
return "script";
}
return responseContainer[ 0 ];
};
// Delegate to script transport
return "script";
-
}
}
-
});
})( jQuery );
});
})( jQuery );