From 86a5abd550b6559f00790e7b63357daaa6d7138f Mon Sep 17 00:00:00 2001 From: Cole Albon Date: Wed, 16 Nov 2016 19:14:31 -0700 Subject: [PATCH] #271 one liner fix error while assigning console --- gun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gun.js b/gun.js index 125a56dc..5e6fe139 100644 --- a/gun.js +++ b/gun.js @@ -6,7 +6,7 @@ if(typeof window !== "undefined"){ root = window } if(typeof global !== "undefined"){ root = global } root = root || {}; - var console = root.console = root.console || {log: function(){}}; + var console = root.console || {log: function(){}}; function require(arg){ return arg.slice? require[resolve(arg)] : function(mod, path){ arg(mod = {exports: {}});