From 34c12a537dcb643cf88bda9de145c0808dc7ca47 Mon Sep 17 00:00:00 2001 From: Mark Nadal Date: Fri, 3 Feb 2017 16:22:29 -0800 Subject: [PATCH] correct input layout --- gun.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gun.js b/gun.js index 4b2571f7..e713a4d0 100644 --- a/gun.js +++ b/gun.js @@ -2028,7 +2028,7 @@ function get(at){ this.to.next(at); var gun = at.gun, lex = at.get, soul, data, opt, u; - setTimeout(function(){ + //setTimeout(function(){ (opt = at.opt || {}).prefix = opt.prefix || at.gun.back('opt.prefix') || 'gun/'; if(!lex || !(soul = lex[Gun._.soul])){ return } data = Gun.obj.ify(store.getItem(opt.prefix + soul) || null); @@ -2041,7 +2041,7 @@ if(Gun.obj.has(lex, '.')){var tmp = data[lex['.']];data = {_: data._};if(u !== tmp){data[lex['.']] = tmp}} //console.log('@@@@@@@@@@@@local get', data, at); gun.back(-1).on('in', {'@': at['#'], put: Gun.graph.node(data)}); - },11); + //},11); } Gun.on('put', put); Gun.on('get', get);