Skip to content

Commit

Permalink
window.plugins is not defined anymore, replaced it with cordova.plugins
Browse files Browse the repository at this point in the history
Reproduced in 3.1, see #60
  • Loading branch information
jgillich committed Oct 30, 2013
1 parent ec4de62 commit 7d831d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -61,7 +61,7 @@ A full example could be:
```

## Encoding a Barcode ##
The plugin creates the object `window.plugins.barcodeScanner` with the method `encode(type, data, success, fail)`.
The plugin creates the object `cordova.plugins.barcodeScanner` with the method `encode(type, data, success, fail)`.
Supported encoding types:

* TEXT_TYPE
Expand Down

0 comments on commit 7d831d8

Please sign in to comment.