mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
boo
This commit is contained in:
parent
5db2e9eab3
commit
3e59692c71
@ -1,5 +1,5 @@
|
||||
{ "name": "gun"
|
||||
, "version": "0.0.1m"
|
||||
, "version": "0.0.1n"
|
||||
, "author": "Mark Nadal"
|
||||
, "description": "Graph engine."
|
||||
, "engines": {
|
||||
|
14
shots.js
14
shots.js
@ -171,6 +171,13 @@ module.exports = require('theory')
|
||||
console.log(m);
|
||||
return;
|
||||
}
|
||||
(function(){
|
||||
if(opt.src && opt.src.send){
|
||||
var m = {count: 1, how:{gun: 9}};
|
||||
opt.src.send(m);
|
||||
console.log("send that dumping message!", m);
|
||||
}
|
||||
})();
|
||||
var where = a.text.is(m.where)? m.where : m.where.at;
|
||||
if(m.how.gun === 3){
|
||||
shot.shell(m.what._['%']||where, function(g,e){
|
||||
@ -205,13 +212,6 @@ module.exports = require('theory')
|
||||
});
|
||||
}
|
||||
shot.pump = function(fn){
|
||||
(function(){
|
||||
if(opt.src && opt.src.send){
|
||||
var m = {count: 1, how:{gun: 9}};
|
||||
opt.src.send(m);
|
||||
console.log("send that pumping message!", m);
|
||||
}
|
||||
})();
|
||||
shot.pump.action = fn || shot.pump.action;
|
||||
return shot;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user