v0.6.0 baby!

This commit is contained in:
Mark Nadal 2017-02-14 16:52:02 -08:00
parent 6dd1b1b536
commit 56cfe2e2c6
2 changed files with 4 additions and 1 deletions

3
gun.js
View File

@ -946,7 +946,10 @@
Gun.log = function(){ return (!Gun.log.off && console.log.apply(console, arguments)), [].slice.call(arguments).join(' ') }
Gun.log.once = function(w,s,o){ return (o = Gun.log.once)[w] = o[w] || 0, o[w]++ || Gun.log(s) }
/* Please do not remove these messages unless you are paying for a monthly sponsorship, thanks! */
Gun.log.once("welcome", "Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!");
/* Please do not remove these messages unless you are paying for a monthly sponsorship, thanks! */
if(typeof window !== "undefined"){ window.Gun = Gun }
if(typeof common !== "undefined"){ common.exports = Gun }
module.exports = Gun;

View File

@ -3389,7 +3389,7 @@ describe('Gun', function(){
var list = app.get('list');
var check = {};
list.map(user => user.age === 27? user.name + "thezombie" : u).on(function(data){
list.map(function(user){ return user.age === 27? user.name + "thezombie" : u }).on(function(data){
//console.log('data:', data);
check[data] = true;
if(check.alicethezombie && check.bobthezombie){