mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Updates build file
This commit is contained in:
Vendored
+4
-10
@@ -6589,9 +6589,7 @@ define(
|
||||
return counter;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Code39Reader.prototype._decodeToResult = function() {
|
||||
Code39Reader.prototype._decode = function() {
|
||||
var self = this,
|
||||
counters = [0,0,0,0,0,0,0,0,0],
|
||||
result = [],
|
||||
@@ -6601,7 +6599,6 @@ define(
|
||||
pattern,
|
||||
nextStart;
|
||||
|
||||
|
||||
if (!start) {
|
||||
return null;
|
||||
}
|
||||
@@ -6624,6 +6621,8 @@ define(
|
||||
} while(decodedChar !== '*');
|
||||
result.pop();
|
||||
|
||||
|
||||
|
||||
return {
|
||||
code : result.join(""),
|
||||
start : start.start,
|
||||
@@ -6633,10 +6632,6 @@ define(
|
||||
};
|
||||
};
|
||||
|
||||
Code39Reader.prototype._decode = function() {
|
||||
return this._decodeToResult();
|
||||
};
|
||||
|
||||
Code39Reader.prototype._patternToChar = function(pattern) {
|
||||
var i,
|
||||
self = this;
|
||||
@@ -6745,7 +6740,6 @@ define(
|
||||
return (Code39Reader);
|
||||
}
|
||||
);
|
||||
|
||||
/* jshint undef: true, unused: true, browser:true, devel: true */
|
||||
/* global define */
|
||||
|
||||
@@ -6771,7 +6765,7 @@ define(
|
||||
// Cribbed from:
|
||||
// https://github.com/zxing/zxing/blob/master/core/src/main/java/com/google/zxing/client/result/VINResultParser.java
|
||||
Code39VINReader.prototype._decode = function() {
|
||||
var result = this._decodeToResult();
|
||||
var result = Code39Reader.prototype._decode.apply(this);
|
||||
if (!result) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user