This commit is contained in:
theory 2014-03-31 02:09:23 -06:00
parent 5db2e9eab3
commit 3e59692c71
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{ "name": "gun"
, "version": "0.0.1m"
, "version": "0.0.1n"
, "author": "Mark Nadal"
, "description": "Graph engine."
, "engines": {

View File

@ -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;
}