From ddec4fdc3408e538b88d17636986280c59a75160 Mon Sep 17 00:00:00 2001 From: Ariel Flesler Date: Sun, 4 Jan 2009 21:15:02 +0000 Subject: [PATCH] jquery ajax: File size optimization for compressed code. --- src/ajax.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ajax.js b/src/ajax.js index c255dfe..9e30eef 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 -- 1.7.10.4