couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [21/50] jquery-couch commit: updated refs/heads/import-master to 66dbcbf
Date Tue, 01 Apr 2014 08:52:26 GMT
jquery.couch.js uses a cache-buster when the browser is msie

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954677 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/commit/3f5e55a3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/tree/3f5e55a3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/diff/3f5e55a3

Branch: refs/heads/import-master
Commit: 3f5e55a3f24f8d0fc5cf855e1eeebd5638abf64f
Parents: 3955038
Author: John Christopher Anderson <jchris@apache.org>
Authored: Tue Jun 15 00:07:14 2010 +0000
Committer: Alexander Shorin <kxepal@gmail.com>
Committed: Tue Jun 15 00:07:14 2010 +0000

----------------------------------------------------------------------
 jquery.couch.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/blob/3f5e55a3/jquery.couch.js
----------------------------------------------------------------------
diff --git a/jquery.couch.js b/jquery.couch.js
index 086ebbb..682e999 100644
--- a/jquery.couch.js
+++ b/jquery.couch.js
@@ -579,9 +579,8 @@
   function ajax(obj, options, errorMessage, ajaxOptions) {
     options = $.extend({successStatus: 200}, options);
     errorMessage = errorMessage || "Unknown error";
-
     $.ajax($.extend($.extend({
-      type: "GET", dataType: "json",
+      type: "GET", dataType: "json", cache : !$.browser.msie,
       beforeSend: function(xhr){
         if(ajaxOptions && ajaxOptions.headers){
           for (var header in ajaxOptions.headers){


Mime
View raw message