Removed unused variable

feature/71
Christoph Oberhofer 9 years ago
parent 827c4d6497
commit 9bbcfc2f99

@ -2,7 +2,6 @@ function BarcodeReader(config, supplements) {
this._row = []; this._row = [];
this.config = config || {}; this.config = config || {};
this.supplements = supplements; this.supplements = supplements;
this.minBarWidth = 1;
return this; return this;
} }

@ -279,12 +279,10 @@ EANReader.prototype._decode = function() {
decodedCodes = [], decodedCodes = [],
resultInfo = {}; resultInfo = {};
this.minBarWidth = 1;
startInfo = self._findStart(); startInfo = self._findStart();
if (!startInfo) { if (!startInfo) {
return null; return null;
} }
this.minBarWidth = (startInfo.end - startInfo.start) / 3;
code = { code = {
code: startInfo.code, code: startInfo.code,
start: startInfo.start, start: startInfo.start,

Loading…
Cancel
Save