simple-breakpad-server
Version:
Simple breakpad crash reports collecting server
22 lines (18 loc) • 333 B
JavaScript
(function() {
var cache;
cache = {};
module.exports = {
clear: function() {
return cache = {};
},
get: function(id) {
return cache[id];
},
set: function(id, data) {
return cache[id] = data;
},
has: function(id) {
return cache.hasOwnProperty(id);
}
};
}).call(this);