From c7158af58ee9aeb0e325ae733c4bbfd1db51e563 Mon Sep 17 00:00:00 2001 From: Jayson Raymond Date: Thu, 10 Jan 2013 15:54:44 -0800 Subject: [PATCH] readme fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd338a0..d9f80b2 100644 --- a/README.md +++ b/README.md @@ -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);