ONE BIG MASSIVE UPDATE

This commit is contained in:
Mark Nadal
2015-05-29 16:01:00 -07:00
parent 2f59cb0ade
commit e89c19cdd8
26 changed files with 5319 additions and 796 deletions

24
test/set.js Normal file
View File

@@ -0,0 +1,24 @@
(function(){ // group test
var Gun = require('../index');
require('../lib/set');
var gun = Gun({file: 'data.json'});
gun.set({
name: "Mark Nadal",
age: 23,
type: "human"
}).back.set({
name: "Amber Nadal",
age: 23,
type: "human"
}).back.set({
name: "Hobbes",
age: 4,
type: "kitten"
}).back.val(function(g){
//console.log("GOT", g, this.__.graph);
}).map(function(val, id){
//console.log("map", id, val);
});
}());