mirror of
https://github.com/amark/gun.git
synced 2025-06-07 14:46:44 +00:00
path bug fixes & NTS
This commit is contained in:
parent
2c80ae81e9
commit
ebe3f77693
@ -1,6 +1,6 @@
|
|||||||
var port = process.env.OPENSHIFT_NODEJS_PORT || process.env.VCAP_APP_PORT || process.env.PORT || process.argv[2] || 80;
|
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({
|
var gun = Gun({
|
||||||
file: 'data.json',
|
file: 'data.json',
|
||||||
s3: {
|
s3: {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
, "dependencies": {
|
, "dependencies": {
|
||||||
"express": "~>4.9.0",
|
"express": "~>4.9.0",
|
||||||
"gun": "~>0.2.0-alpha-4"
|
"gun": "~>0.2.2"
|
||||||
}
|
}
|
||||||
, "scripts": {
|
, "scripts": {
|
||||||
"start": "node http.js",
|
"start": "node http.js",
|
||||||
|
2
gun.js
2
gun.js
@ -599,7 +599,7 @@
|
|||||||
}
|
}
|
||||||
if(gun.back.not){ gun.back.not(call, {raw: true}) }
|
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 chain = $.gun || gun;
|
||||||
var ctx = {}, obj = val, $ = Gun.obj.copy($);
|
var ctx = {}, obj = val, $ = Gun.obj.copy($);
|
||||||
console.log("chain.put", val, '\n');
|
console.log("chain.put", val, '\n');
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gun",
|
"name": "gun",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"description": "Graph engine",
|
"description": "Graph engine",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1854,7 +1854,7 @@ describe('Gun', function(){
|
|||||||
});
|
});
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
me.put({a: 'b'});
|
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.
|
it("gun get empty set path empty later path put multi", function(done){ // Issue #99 #101, bug in survey and trace game.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user