mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Remove console-messages for production build
This commit is contained in:
@@ -29,7 +29,9 @@ Code39VINReader.prototype._decode = function() {
|
||||
code = code.replace(patterns.IOQ, '');
|
||||
|
||||
if (!code.match(patterns.AZ09)) {
|
||||
console.log('Failed AZ09 pattern code:', code);
|
||||
if (ENV.development) {
|
||||
console.log('Failed AZ09 pattern code:', code);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user