GPS.js
GPS.js copied to clipboard
added an error event to get past my device issuing bad strings on occ…
This fixes my issue with my gps device issuing bad strings and the code throwing an error message which shutsdown my code. I tried trapping it with a catch block but that didn't work.
don't know if it's useful in general but it helped me. I'm sure it's my device that's causing errors and not your code. if you want to see the strings tho let me know and I'll upload some examples.
Thanks for this great library. I almost started writing my own before I pulled my head out of my ass :)