mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
make sure localStorage isn't disabled
This commit is contained in:
parent
8c0dae0176
commit
2e876b92fc
4
gun.js
4
gun.js
@ -1010,8 +1010,8 @@
|
||||
(opt = opt || {}).url = opt.url || {};
|
||||
opt.headers = Gun.obj.copy(tab.headers);
|
||||
opt.url.pathname = '/' + key;
|
||||
Gun.log("tab get --->", key);
|
||||
(function local(key, cb){return; // TODO: BUG! UNDO!
|
||||
//Gun.log("tab get --->", key);
|
||||
(function local(key, cb){
|
||||
tab.store.get(tab.prefix + key, function(err, data){
|
||||
if(err){ return cb(err) }
|
||||
cb(err, Gun.is.graph.ify(data)); // node
|
||||
|
Loading…
x
Reference in New Issue
Block a user