remove caching logic from jquery.couch2

This commit is contained in:
Max Ogden 2011-07-02 23:56:15 -07:00
parent ba9264b212
commit e68d44c7dd

View File

@ -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'});
};