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.

pull/14/head
Christoph Oberhofer 11 years ago
parent 822f5ce03d
commit 005a989aa3

4
dist/quagga.js vendored

@ -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!");

File diff suppressed because one or more lines are too long

@ -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!");

Loading…
Cancel
Save