Skip to content
Browse files

Silencing console output

  • Loading branch information...
1 parent b814d3c commit 8b1f4d975d5340adc74910f92bc24264932309be @deepakjois committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 node/public/scripts/uploader.js
View
5 node/public/scripts/uploader.js
@@ -145,7 +145,6 @@ Uploader = function() {
xhr.onload = function(e) {
if (xhr.status === 200) {
var respJSON = JSON.parse(xhr.responseText);
- console.log(respJSON);
progress.innerHTML = respJSON.progress + "%";
if (respJSON.progress < 100) {
@@ -204,9 +203,9 @@ function supportAjaxUploadWithProgress() {
// Main entry point
if (supportAjaxUploadWithProgress() && !FORCE_LEGACY_UPLOAD) {
- console.log("Using UploaderXhrProgress");
+ //console.log("Using UploaderXhrProgress");
Uploader.initXhrProgress();
} else {
- console.log("Using UploaderLegacy");
+ //console.log("Using UploaderLegacy");
Uploader.initLegacy();
}

0 comments on commit 8b1f4d9

Please sign in to comment.
Something went wrong with that request. Please try again.