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._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,
|
||||||
|
|||||||
Reference in New Issue
Block a user