Update rfs.js

This commit is contained in:
Mark Nadal 2018-12-08 18:08:53 -08:00 committed by GitHub
parent 7b6c0881de
commit c567aae376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ function Mem(opt){
cb(null, tmp);
}, 1);
};
store.list = function(cb, match){
store.list = function(cb, match){ // supporting this is no longer needed! Optional.
setTimeout(function(){
Gun.obj.map(Object.keys(storage), cb) || cb();
}, 1);
@ -85,4 +85,4 @@ function Mem(opt){
return store;
}
module.exports = Store;//Gun.TESTING? Mem : Store;
module.exports = Store;//Gun.TESTING? Mem : Store;