remove caching logic from jquery.couch2
This commit is contained in:
parent
ba9264b212
commit
e68d44c7dd
@ -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'});
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user