mirror of
https://github.com/amark/gun.git
synced 2025-06-10 16:16:49 +00:00
Merge pull request #272 from colealbon/0.5
#271 one liner fix to console assign error
This commit is contained in:
commit
bb2a49c088
2
gun.js
2
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: {}});
|
||||
|
Loading…
x
Reference in New Issue
Block a user