Skip to content

Commit

Permalink
Removing two extraneous methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
probityrules committed Jul 19, 2019
1 parent 8a8e626 commit 8205f86
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions recycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,27 +187,5 @@ export default {
return cache;
},

setUp: function (name, ...args) {
var cache = caches[name];

if (!cache) {
console.warn('Recycle: No cache named "' + name + '" has been defined.');
return null;
}

return cache.setUp(...args);
},

recycle: function (name, item, ...args) {
var cache = caches[name];

if (!cache) {
console.warn('Recycle: No cache named "' + name + '" has been defined.');
return;
}

cache.recycle(item, ...args);
},

cache: caches
};

0 comments on commit 8205f86

Please sign in to comment.