Removed unused variable

This commit is contained in:
Christoph Oberhofer
2016-04-24 21:41:54 +02:00
parent 827c4d6497
commit 9bbcfc2f99
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -2,7 +2,6 @@ function BarcodeReader(config, supplements) {
this._row = [];
this.config = config || {};
this.supplements = supplements;
this.minBarWidth = 1;
return this;
}
-2
View File
@@ -279,12 +279,10 @@ EANReader.prototype._decode = function() {
decodedCodes = [],
resultInfo = {};
this.minBarWidth = 1;
startInfo = self._findStart();
if (!startInfo) {
return null;
}
this.minBarWidth = (startInfo.end - startInfo.start) / 3;
code = {
code: startInfo.code,
start: startInfo.start,