quick fix for console.log/Gun.log

This commit is contained in:
Mark Nadal 2015-01-24 19:21:58 -07:00
parent 53e027bdf3
commit fda4cd2c57
4 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@
}
, "dependencies": {
"express": "~>4.9.0",
"gun": "0.0.9-i"
"gun": "0.0.9-j"
}
, "scripts": {
"start": "node express.js",

View File

@ -43,7 +43,7 @@
m.Body = a.text.is(o)? o : a.text.ify(o);
}
this.S3().putObject(m, function(e,r){
//Gun.log('saved', e,r);
//a.log('saved', e,r);
if(!cb){ return }
cb(e,r);
});
@ -67,7 +67,7 @@
s.batch = s.batch || {};
if(s.batch[id]){ return s }
s.batch[id] = (s.batch[id] || 0) + 1;
Gun.log("no batch!");
a.log("no batch!");
s.S3().getObject(m, function(e,r){
var d, t, m;
r = r || (this && this.httpResponse);
@ -98,9 +98,9 @@
cb = cb || o;
var m = {}
this.S3().listBuckets(m, function(e,r){
//Gun.log('dbs',e);
//a.log('dbs',e);
a.list.map((r||{}).Contents, function(v){console.log(v);});
//Gun.log('---end list---');
//a.log('---end list---');
if(!a.fns.is(cb)) return;
cb(e,r);
});
@ -118,9 +118,9 @@
m.Delimiter = upto;
}
this.S3().listObjects(m, function(e,r){
//Gun.log('list',e);
//a.log('list',e);
a.list.each((r||{}).Contents, function(v){console.log(v)});
//Gun.log('---end list---');
//a.log('---end list---');
if(!a.fns.is(cb)) return;
cb(e,r);
});

View File

@ -1,5 +1,5 @@
;(function(){
Gun.log("Hello wonderful person! :) I'm mark@gunDB.io, message me for help or with hatemail. I want to hear from you! <3");
console.log("Hello wonderful person! :) I'm mark@gunDB.io, message me for help or with hatemail. I want to hear from you! <3");
var Gun = require('../gun');
require('./s3');
require('./wsp');

View File

@ -1,5 +1,5 @@
{ "name": "gun"
, "version": "0.0.9-i"
, "version": "0.0.9-j"
, "author": "Mark Nadal"
, "description": "Graph engine."
, "engines": {