From e68d44c7dd6a81118f52e16c11ddfe3fe0ee9928 Mon Sep 17 00:00:00 2001 From: Max Ogden Date: Sat, 2 Jul 2011 23:56:15 -0700 Subject: [PATCH] remove caching logic from jquery.couch2 --- attachments/script/jquery.couch2.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/attachments/script/jquery.couch2.js b/attachments/script/jquery.couch2.js index 15b14520..e5f768db 100644 --- a/attachments/script/jquery.couch2.js +++ b/attachments/script/jquery.couch2.js @@ -2,8 +2,6 @@ window.couch = {}; - var cache = {}; - var defaults = { headers: {"Accept":"application/json"}, dataType:"json", @@ -17,10 +15,6 @@ return $.ajax(ajaxOpts).promise(); } - couch.clearCache = function() { - cache = {}; - }; - couch.get = function(url) { return couch.request({url:url, type:'GET'}); };