Skip to content

Commit

Permalink
docs: adds missing words to the file object section in the README (#467)
Browse files Browse the repository at this point in the history
The section on the file object was missing words.
  • Loading branch information
johnwargo authored Apr 21, 2021
1 parent 5274cab commit f3b3b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ To get a few ideas how to use the plugin, check out the [sample](#sample) at the
For an overview of other storage options, refer to Cordova's
[storage guide](http://cordova.apache.org/docs/en/latest/cordova/storage/storage.html).

This plugin defines global `cordova.file` object.
This plugin defines a global `cordova.file` object.

Although in the global scope, it is not available until after the `deviceready` event.
Although the object is in the global scope, it is not available to applications until after the `deviceready` event fires.

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
Expand Down

0 comments on commit f3b3b50

Please sign in to comment.