Skip to content

Commit

Permalink
Removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
serratus committed Apr 24, 2016
1 parent 827c4d6 commit 9bbcfc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/reader/barcode_reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ function BarcodeReader(config, supplements) {
this._row = [];
this.config = config || {};
this.supplements = supplements;
this.minBarWidth = 1;
return this;
}

Expand Down
2 changes: 0 additions & 2 deletions src/reader/ean_reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9bbcfc2

Please sign in to comment.