nimiq / qr-scanner

Lightweight Javascript QR Code Scanner
https://nimiq.github.io/qr-scanner/demo
MIT License
2.35k stars 509 forks source link

Fix the scanImage() example code in readme #214

Open dyoshikawa opened 1 year ago

dyoshikawa commented 1 year ago

The example code for scanImage() in the README.md calls a deprecated API. Therefore, an option to call a new API is given.