10xSebastian / barcode-scanner.js

Javascript library to handle and identify data (keystrokes) entered by a barcode scanner.
GNU General Public License v2.0
17 stars 7 forks source link

Where exactly the detection is happening in the library? #12

Closed 10xSebastian closed 8 years ago

10xSebastian commented 8 years ago

Asked by @smartmeter here: https://github.com/pape-io/barcode-scanner.js/issues/3#issuecomment-160251159

Can you please tell in the JS/coffee code file, how to look at where is the scanner detected, I want to see if the scanner has issues on wedging or the prefix, is there an option to turn on so we can see where it is. Also, can you tell me where this is happening, so I can debug please.

10xSebastian commented 8 years ago

https://github.com/pape-io/barcode-scanner.js/blob/master/src/barcode-scanner.coffee#L46

smartmeter commented 8 years ago

ok thanks. Coffee is new to me :) I wanted to write some funtions in coffee. You can close this thanks! :100: