Merge pull request #272 from colealbon/0.5

#271 one liner fix to console assign error
This commit is contained in:
Mark Nadal 2016-11-16 19:52:56 -07:00 committed by GitHub
commit bb2a49c088

2
gun.js
View File

@ -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: {}});