PhoneGap barcode reader plugin using ZXing

Merely a few weeks after I created my ZBar barcode reader plugin for PhoneGap, the user ascorbic added a ZXing-based barcode scanner plugin to the PhoneGap source tree. Talk about timing! If PhoneGap could have pulled that plugin just a month earlier it could have saved me many hours of scouring through PhoneGap and ZBar docs trying to figure out how to make my plugin.

Personally I like his syntax and naming a lot better than the names I chose. I named my stuff kind of dumb because I started it out as a test but when it came time to commit to git I didn’t want to rename the variables at the risk of breaking the code.