client peer should union not emit, bug fixed, version bumped

This commit is contained in:
Mark Nadal 2015-02-18 11:48:34 -07:00
parent 1f4a5237d9
commit c10f605b50
5 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{
"name": "gun",
"main": "gun.js",
"version": "0.0.9-p",
"version": "0.1.1",
"homepage": "http://gunDB.io",
"authors": [
{ "name": "Mark Nadal", "email": "mark@accelsor.com" },

View File

@ -8,7 +8,7 @@
}
, "dependencies": {
"express": "~>4.9.0",
"gun": "0.0.9-p"
"gun": "0.1.1"
}
, "scripts": {
"start": "node express.js",

2
gun.js
View File

@ -963,7 +963,7 @@
meta[Gun._.soul] = Gun.is.soul(reply.body);
store.set(tab.prefix + tab.prekey + key, meta);
}
if(cb.node){ return gun.__.on(Gun.is.soul(reply.body)).emit(reply.body) }
if(cb.node){ gun.union(reply.body) }
cb(null, reply.body);
}
}, opt);

View File

@ -553,7 +553,7 @@ ref.on(function(data){
<form action="#step3" onsubmit="return false;">
<style>
#step3 input {
.step3 input {
width: 6em;
}
</style>

View File

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