readme fix

This commit is contained in:
Jayson Raymond
2013-05-29 17:08:47 -07:00
committed by Ryan Willoughby
parent 5d6f0d52f9
commit 3bc65ebbaa
+2 -2
View File
@@ -48,7 +48,7 @@ The following barcode types are currently supported:
A full example could be:
var scanner = $wnd.PhoneGap.require("cordova/plugin/BarcodeScanner");
var scanner = window.PhoneGap.require("cordova/plugin/BarcodeScanner");
scanner.scan(
function (result) {
@@ -74,7 +74,7 @@ Supported encoding types:
A full example could be:
var scanner = $wnd.PhoneGap.require("cordova/plugin/BarcodeScanner");
var scanner = window.PhoneGap.require("cordova/plugin/BarcodeScanner");
scanner.encode(BarcodeScanner.Encode.TEXT_TYPE, "http://www.nytimes.com", function(success) {
alert("encode success: " + success);