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