Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.
[jquery.git] / src / transports / jsonp.js
index f16b394..aa30b5d 100644 (file)
@@ -70,7 +70,7 @@ jQuery.ajax.prefilter("json jsonp", function(s) {
                }, s.complete ];
                                
                // Use data converter to retrieve json after script execution
-               s.dataConverters["script json"] = function() {
+               s.converters["script json"] = function() {
                        if ( ! responseContainer ) {
                                jQuery.error( jsonpCallback + " was not called" );
                        }