From 2ed536baf6a4977b6da2ca8bd2e47182cae399fa Mon Sep 17 00:00:00 2001 From: Zane Hitchcox Date: Tue, 14 Mar 2017 20:09:18 -0400 Subject: [PATCH] remove back || That doesn't do anything --- gun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gun.js b/gun.js index 2be0c3ea..752bf110 100644 --- a/gun.js +++ b/gun.js @@ -1445,7 +1445,7 @@ Gun.chain.get = function(key, cb, as){ //if(!as || !as.path){ var back = this._.root; } // TODO: CHANGING API! Remove this line! if(typeof key === 'string'){ - var gun, back = back || this, cat = back._; + var gun, back = this, cat = back._; var next = cat.next || empty, tmp; if(!(gun = next[key])){ gun = cache(key, back);