fixed node example

.default was missing
This commit is contained in:
Martin Tillmann
2016-11-07 19:26:31 +01:00
committed by GitHub
parent edea60fe71
commit 942104916b
+1 -1
View File
@@ -566,7 +566,7 @@ that node does not support web-workers out of the box. Therefore the config
property `numOfWorkers` must be explicitly set to `0`. property `numOfWorkers` must be explicitly set to `0`.
```javascript ```javascript
var Quagga = require('quagga'); var Quagga = require('quagga').default;
Quagga.decodeSingle({ Quagga.decodeSingle({
src: "image-abc-123.jpg", src: "image-abc-123.jpg",