aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2009-01-04 21:15:02 +0000
committerAriel Flesler <aflesler@gmail.com>2009-01-04 21:15:02 +0000
commitddec4fdc3408e538b88d17636986280c59a75160 (patch)
tree07c3ff67591e987a2dd57cdbd855fd6bd5dddbea
parent0eaead0b919bf173b917cf874f953570ccd1a536 (diff)
downloadjquery-ddec4fdc3408e538b88d17636986280c59a75160.tar.gz
jquery-ddec4fdc3408e538b88d17636986280c59a75160.zip
jquery ajax: File size optimization for compressed code.
-rw-r--r--src/ajax.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index c255dfeba..9e30eef1e 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -143,13 +143,15 @@ jQuery.extend({
url: location.href,
global: true,
type: "GET",
- timeout: 0,
contentType: "application/x-www-form-urlencoded",
processData: true,
async: true,
+ /*
+ timeout: 0,
data: null,
username: null,
password: null,
+ */
// Create the request object; Microsoft failed to properly
// implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available
// This function can be overriden by calling jQuery.ajaxSetup