From d74a9ad0066698ea3f742c07b6ec5a34f2b28b03 Mon Sep 17 00:00:00 2001 From: Christoph Oberhofer Date: Wed, 17 Dec 2014 23:24:38 +0100 Subject: [PATCH] Update README.md Removed `callback` param from the `init` function. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6883cef..d0b1a85 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,9 @@ by simply typing: You can check out the [examples](http://serratus.github.io/quaggaJS/examples) to get an idea of how to use QuaggaJS. Basically the library exposes the following API: -### Quagga.init(config, callback) +### Quagga.init(config) -This method initializes the library for a given configuration (see below) and a function which is called -when the loading-process has finished. The initialization process also requests for camera access if real-time +This method initializes the library for a given configuration (see below) which also includes a callback function (`readyFunc`) which is called when Quagga is ready to start. The initialization process also requests for camera access if real-time detection is configured. ### Quagga.start()