mirror of
https://github.com/amark/gun.git
synced 2025-06-06 14:16:44 +00:00
Solve: require Gun in Mesh.
This commit is contained in:
parent
a1131ed0bc
commit
1e8bece479
3
gun.js
3
gun.js
@ -1920,6 +1920,7 @@
|
||||
})(USE, './adapters/localStorage');
|
||||
|
||||
;USE(function(module){
|
||||
var Gun = USE('../index');
|
||||
var Type = USE('../type');
|
||||
|
||||
function Mesh(ctx){
|
||||
@ -1941,7 +1942,7 @@
|
||||
return;
|
||||
}
|
||||
// add hook for AXE?
|
||||
//if (Gun.AXE && opt && opt.super) { Gun.AXE.say(msg, mesh.say, this); return; } // rogowski
|
||||
if (Gun.AXE && opt && opt.super) { Gun.AXE.say(msg, mesh.say, this); return; } // rogowski
|
||||
mesh.say(msg);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
var Gun = require('../index');
|
||||
var Type = require('../type');
|
||||
|
||||
function Mesh(ctx){
|
||||
|
Loading…
x
Reference in New Issue
Block a user