Fixed react example

feature/109
Christoph Oberhofer 9 years ago
parent 45331c0d8e
commit 308544c0dd

@ -0,0 +1 @@
static/

@ -0,0 +1,9 @@
# Quagga meets React
This example uses webpack & babel to transpile/bundle the required files.
## How to run the example
```console
> npm install && webpack
```

@ -7,7 +7,7 @@ export default class Scanner extends React.Component {
this._scanner = Quagga
.decoder({readers: ['ean_reader']})
.locator({patchSize: 'medium'})
.fromVideo({
.fromSource({
target: '.overlay__content',
constraints: {
width: 800,

Loading…
Cancel
Save