mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
boo
This commit is contained in:
parent
2db7805485
commit
7c12cb53b5
@ -1,5 +1,5 @@
|
||||
{ "name": "gun"
|
||||
, "version": "0.0.1w"
|
||||
, "version": "0.0.1x"
|
||||
, "author": "Mark Nadal"
|
||||
, "description": "Graph engine."
|
||||
, "engines": {
|
||||
|
3
shots.js
3
shots.js
@ -188,8 +188,9 @@ module.exports = require('theory')
|
||||
var done = function(){
|
||||
theory.on(a.gun.event+'.shot').emit(m.what,g);
|
||||
g = a.fns.is(g)? g : function(){ return a.gun.clip[where] || {} }
|
||||
console.log("updated:", g());
|
||||
store.set(where, g(), null, function(){ // TODO: Only save to S3 if there is a change in data after HAM.
|
||||
if(opt.src && opt.src.reply){
|
||||
if(opt.src && opt.src.reply && !m.where.mid){
|
||||
m.when = a.num.is(a(m,'what._.#'))? m.what._['#'] : m.when;
|
||||
m.how.gun = -(m.how.gun||1);
|
||||
m.what = where;
|
||||
|
Loading…
x
Reference in New Issue
Block a user