goodeggs / angular-barcode-listener

Angular directive to listen for barcode scanner events
MIT License
16 stars 10 forks source link

throw new TypeError('barcodeValueTest must be a regular expression'); #14

Open jnssnmrcs opened 6 years ago

jnssnmrcs commented 6 years ago

version 1.5.2 throws new TypeError('barcodeValueTest must be a regular expression') on load. This does not happen in version 1.5.1.

serhalp commented 6 years ago

Hi @jnssnmrcs! Thanks for reporting.

Oops, it looks like 1.5.2 should never have been published, as it is incomplete. We bumped the underlying barcode-scan-listener module which this Angular module wraps, but the interface to the underlying module now requires a barcodeValueTest param.

Feel free to just ignore 1.5.2 and we'll try to fix this soon.