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:
Christoph Oberhofer
2014-12-17 22:37:54 +01:00
parent 822f5ce03d
commit 005a989aa3
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -7181,8 +7181,8 @@ function(Code128Reader, EANReader, InputStream, ImageWrapper, BarcodeLocator, Ba
} }
return { return {
init : function(config, callback) { init : function(config) {
initialize(config, callback); initialize(config);
}, },
start : function() { start : function() {
console.log("Start!"); console.log("Start!");
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -182,8 +182,8 @@ function(Code128Reader, EANReader, InputStream, ImageWrapper, BarcodeLocator, Ba
} }
return { return {
init : function(config, callback) { init : function(config) {
initialize(config, callback); initialize(config);
}, },
start : function() { start : function() {
console.log("Start!"); console.log("Start!");