mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Removed unused variable
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
this.minBarWidth = 1;
|
||||
startInfo = self._findStart();
|
||||
if (!startInfo) {
|
||||
return null;
|
||||
}
|
||||
this.minBarWidth = (startInfo.end - startInfo.start) / 3;
|
||||
code = {
|
||||
code: startInfo.code,
|
||||
start: startInfo.start,
|
||||
|
||||
Reference in New Issue
Block a user