mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Removed unused callback param in init function. Fixes #8. Please use the readyFunc property of the config object which is passed in to Quagga.init.
This commit is contained in:
Vendored
+2
-2
@@ -7181,8 +7181,8 @@ function(Code128Reader, EANReader, InputStream, ImageWrapper, BarcodeLocator, Ba
|
||||
}
|
||||
|
||||
return {
|
||||
init : function(config, callback) {
|
||||
initialize(config, callback);
|
||||
init : function(config) {
|
||||
initialize(config);
|
||||
},
|
||||
start : function() {
|
||||
console.log("Start!");
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -182,8 +182,8 @@ function(Code128Reader, EANReader, InputStream, ImageWrapper, BarcodeLocator, Ba
|
||||
}
|
||||
|
||||
return {
|
||||
init : function(config, callback) {
|
||||
initialize(config, callback);
|
||||
init : function(config) {
|
||||
initialize(config);
|
||||
},
|
||||
start : function() {
|
||||
console.log("Start!");
|
||||
|
||||
Reference in New Issue
Block a user