2
0
mirror of https://github.com/amark/gun.git synced 2025-03-30 15:08:33 +00:00
2020-05-01 19:08:25 -07:00

11 lines
274 B
JavaScript

function Nomem(){
var opt = {}, u;
opt.put = function(file, data, cb){ cb(null, -9) }; // dev/null!
opt.get = function(file, cb){ cb(null) };
return opt;
}
if(typeof window !== "undefined"){
window.Nomem = Nomem;
} else {
try{ module.exports = Nomem }catch(e){}
}