]> source.dussan.org Git - jquery.git/commitdiff
Removed internal dataTypes option and added headers & crossDomain options into commen...
authorjaubourg <j@ubourg.net>
Sun, 16 Jan 2011 02:05:03 +0000 (03:05 +0100)
committerjaubourg <j@ubourg.net>
Sun, 16 Jan 2011 02:05:03 +0000 (03:05 +0100)
src/ajax.js

index 5c4d469fda84a37dedac6bbfae969fe6d7e3160b..3eb36c3a8e886e1ba07aac668774d3f184432aea 100644 (file)
@@ -175,11 +175,12 @@ jQuery.extend({
                timeout: 0,
                data: null,
                dataType: null,
-               dataTypes: null,
                username: null,
                password: null,
                cache: null,
                traditional: false,
+               headers: {},
+               crossDomain: null,
                */
                xhr: function() {
                        return new window.XMLHttpRequest();