removed console logs

This commit is contained in:
bill bittner 2017-06-27 21:39:33 -07:00
parent 7efce7739b
commit 86f8d83c05
5 changed files with 0 additions and 13 deletions

View file

@ -107,7 +107,6 @@ module.exports = {
// 1. get the top free, public claims
getAllFreePublicClaims(claimName)
.then(freePublicClaimList => {
console.log('I got here!');
const name = freePublicClaimList[0].name;
const claimId = freePublicClaimList[0].claim_id;
const uri = `${name}#${claimId}`;
@ -134,7 +133,6 @@ module.exports = {
});
})
.catch(error => {
console.log('I got here too!');
reject(error);
});
});

View file

@ -52,7 +52,6 @@ function updatePublishStatus(msg){
}
// process the drop-zone drop
function drop_handler(ev) {
console.log("drop");
ev.preventDefault();
// if dropped items aren't files, reject them
var dt = ev.dataTransfer;
@ -60,11 +59,7 @@ function drop_handler(ev) {
if (dt.items[0].kind == 'file') {
var droppedFile = dt.items[0].getAsFile();
previewAndStageFile(droppedFile);
} else {
console.log("no files were found")
}
} else {
console.log("no items were found")
}
}
// prevent the browser's default drag behavior
@ -169,7 +164,6 @@ socket.on('publish-complete', function(msg){
try {
var successful = document.execCommand('copy');
var msg = successful ? 'successful' : 'unsuccessful';
console.log('Copying text command was ' + msg);
} catch (err) {
alert('Oops, unable to copy');
}

View file

@ -15,5 +15,4 @@ function toggleSection(event){
masterElement.innerText = "[open]";
masterElement.dataset.open = "false";
}
console.log(status);
}

View file

@ -33,7 +33,6 @@ function startPublish() {
var blob = dataURItoBlob(dataUrl)
var fileName = nameInput.value + ".jpg"; //note: need to dynamically grab type
var file = new File([blob], fileName, {type: 'image/jpeg', lastModified: Date.now()});
console.log(file);
stageAndPublish(file);
};
@ -144,7 +143,6 @@ socket.on('publish-complete', function(msg){
try {
var successful = document.execCommand('copy');
var msg = successful ? 'successful' : 'unsuccessful';
console.log('Copying text command was ' + msg);
} catch (err) {
alert('Oops, unable to copy');
}

View file

@ -55,12 +55,10 @@ module.exports = (app) => {
serveController
.getClaimByName(params.name)
.then(fileInfo => {
console.log('hi there!');
postRequestAnalytics(originalUrl, ip, 'success');
serveFile(fileInfo, res);
})
.catch(error => {
console.log('hi there too!');
postRequestAnalytics(originalUrl, ip, error);
errorHandlers.handleRequestError(error, res);
});