Update README.md

Removed `callback` param from the `init` function.
This commit is contained in:
Christoph Oberhofer
2014-12-17 23:24:38 +01:00
parent 005a989aa3
commit d74a9ad006
+2 -3
View File
@@ -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. 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: 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 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
when the loading-process has finished. The initialization process also requests for camera access if real-time
detection is configured. detection is configured.
### Quagga.start() ### Quagga.start()