EddieLa / JOB

A Barcode scanner capapable of reading Code128, Code93, Code39, Standard/Industrial 2 of 5, Interleaved 2 of 5, Codabar and EAN-13 barcodes in javascript.
http://eddiela.github.io/JOB
602 stars 203 forks source link

Code39 #25

Closed planeth44 closed 9 years ago

planeth44 commented 9 years ago

Thank you for JOB. I found an edge case when a code39 barcode encode only one character 1- binaryString.length will never be > 4 2- if this character is a "+" DecodeCode39 function will never find a following character.

This is my proposed patch Regards