someone-noone / libnfc-js

A simple libnfc API to interact with NFC tags.
Apache License 2.0
6 stars 9 forks source link

Example broken #1

Open adamreisnz opened 7 years ago

adamreisnz commented 7 years ago

Hello, your example is broken. You forgot to specify that the function is async, e.g.

nfcReader.on('card', async (card) => {

someone-noone commented 7 years ago

Thank you. Need to be fixed.