Remove unnecessary logging

This commit is contained in:
Tamius Han 2019-06-06 19:47:43 +02:00
parent f6c86382f0
commit a3375eb289
2 changed files with 0 additions and 2 deletions

View File

@ -952,7 +952,6 @@ class ArDetector {
); );
if (currentMax > this.blackLevel + blthreshold) { if (currentMax > this.blackLevel + blthreshold) {
console.log("CURRENT MAX:", currentMax, "BLACK LEVEL, threshold, bl+t", this.blackLevel, blthreshold, this.blackLevel+blthreshold)
// we search no further // we search no further
if (currentMin < this.blackLevel) { if (currentMin < this.blackLevel) {
this.blackLevel = currentMin; this.blackLevel = currentMin;

View File

@ -426,7 +426,6 @@ class Resizer {
} }
else { else {
if (this.lastAr && this.lastAr.ratio === null) { if (this.lastAr && this.lastAr.ratio === null) {
console.log("[Resizer::restore] LAST AR IS NULL")
throw "Last ar is null!" throw "Last ar is null!"
} }
this.setAr(this.lastAr, this.lastAr) this.setAr(this.lastAr, this.lastAr)