Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JaysonRaymond authored and Ryan Willoughby committed May 30, 2013
1 parent 5d6f0d5 commit 3bc65eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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) {
Expand All @@ -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);
Expand Down

0 comments on commit 3bc65eb

Please sign in to comment.