path bug fixes & NTS

This commit is contained in:
Mark Nadal 2015-10-15 16:45:58 -07:00
parent 2c80ae81e9
commit ebe3f77693
5 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
var port = process.env.OPENSHIFT_NODEJS_PORT || process.env.VCAP_APP_PORT || process.env.PORT || process.argv[2] || 80;
var Gun = require('../');// require('gun');
var Gun = require('gun');
var gun = Gun({
file: 'data.json',
s3: {

View File

@ -8,7 +8,7 @@
}
, "dependencies": {
"express": "~>4.9.0",
"gun": "~>0.2.0-alpha-4"
"gun": "~>0.2.2"
}
, "scripts": {
"start": "node http.js",

2
gun.js
View File

@ -599,7 +599,7 @@
}
if(gun.back.not){ gun.back.not(call, {raw: true}) }
gun.back._.at('soul').once(function($){ // TODO: maybe once per soul?
gun.back._.at('soul').event(function($){ // TODO: maybe once per soul?
var chain = $.gun || gun;
var ctx = {}, obj = val, $ = Gun.obj.copy($);
console.log("chain.put", val, '\n');

View File

@ -1,6 +1,6 @@
{
"name": "gun",
"version": "0.2.1",
"version": "0.2.2",
"description": "Graph engine",
"main": "index.js",
"scripts": {

View File

@ -1854,7 +1854,7 @@ describe('Gun', function(){
});
setTimeout(function(){
me.put({a: 'b'});
});
},100);
});
it("gun get empty set path empty later path put multi", function(done){ // Issue #99 #101, bug in survey and trace game.