Skip to content

Commit

Permalink
Update docs for getDirectory()
Browse files Browse the repository at this point in the history
  • Loading branch information
eb1 committed Nov 3, 2017
1 parent 0a6604d commit e0256d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ Following are valid string values for the **directory** parameter above:

if (navigator.Env) {
console.log("Env object in navigator");
navigator.Env.getDirectory(
navigator.Env.getDirectory("Documents",
function (path) {
if (path) {
console.log("getDirectory returns: " + path);
console.log("getDirectory(Documents) returns: " + path);
}
},
function (error) {
Expand Down
2 changes: 1 addition & 1 deletion tests/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.adapt-it.cordova.env.tests"
id="cordova-plugin-env-tests"
version="1.0.0">
<name>cordova-env Plugin Tests</name>
<license>Apache 2.0</license>
Expand Down

0 comments on commit e0256d1

Please sign in to comment.