Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "quagga", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "An advanced barcode-scanner written in JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/quagga.js", |
@@ -142,3 +142,3 @@ /* jshint undef: true, unused: true, browser:true, devel: true */ | ||
numWideBars--; | ||
if ((counters[i] * 3) >= wideBarWidth) { | ||
if ((counters[i] * 2) >= wideBarWidth) { | ||
return -1; | ||
@@ -145,0 +145,0 @@ } |
@@ -366,2 +366,5 @@ /* jshint undef: true, unused: true, browser:true, devel: true, evil: true */ | ||
}, | ||
pause: function() { | ||
_stopped = true; | ||
}, | ||
onDetected : function(callback) { | ||
@@ -368,0 +371,0 @@ Events.subscribe("detected", callback); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41111
1820560