mirror of
https://github.com/amark/gun.git
synced 2025-06-06 22:26:48 +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, './adapters/localStorage');
|
||||||
|
|
||||||
;USE(function(module){
|
;USE(function(module){
|
||||||
|
var Gun = USE('../index');
|
||||||
var Type = USE('../type');
|
var Type = USE('../type');
|
||||||
|
|
||||||
function Mesh(ctx){
|
function Mesh(ctx){
|
||||||
@ -1941,7 +1942,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// add hook for AXE?
|
// 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);
|
mesh.say(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
var Gun = require('../index');
|
||||||
var Type = require('../type');
|
var Type = require('../type');
|
||||||
|
|
||||||
function Mesh(ctx){
|
function Mesh(ctx){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user