mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
v0.6.0 baby!
This commit is contained in:
parent
6dd1b1b536
commit
56cfe2e2c6
3
gun.js
3
gun.js
@ -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;
|
||||
|
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user