mirror of
https://github.com/amark/gun.git
synced 2025-06-12 09:06:52 +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 window !== "undefined"){ root = window }
|
||||||
if(typeof global !== "undefined"){ root = global }
|
if(typeof global !== "undefined"){ root = global }
|
||||||
root = root || {};
|
root = root || {};
|
||||||
var console = root.console = root.console || {log: function(){}};
|
var console = root.console || {log: function(){}};
|
||||||
function require(arg){
|
function require(arg){
|
||||||
return arg.slice? require[resolve(arg)] : function(mod, path){
|
return arg.slice? require[resolve(arg)] : function(mod, path){
|
||||||
arg(mod = {exports: {}});
|
arg(mod = {exports: {}});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user