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

Commit

Permalink
[readme] fixed encode syntax typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Willoughby committed Sep 11, 2013
1 parent 7880bf7 commit 2d87016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -78,7 +78,7 @@ A full example could be:
var scanner = cordova.require("cordova/plugin/BarcodeScanner");
scanner.encode(BarcodeScanner.Encode.TEXT_TYPE, "http://www.nytimes.com", function(success) {
scanner.encode(scanner.Encode.TEXT_TYPE, "http://www.nhl.com", function(success) {
alert("encode success: " + success);
}, function(fail) {
alert("encoding failed: " + fail);
Expand Down

0 comments on commit 2d87016

Please sign in to comment.