Skip to content

Commit

Permalink
docs: adds missing words to the file object section in the README (ap…
Browse files Browse the repository at this point in the history
…ache#467)

The section on the file object was missing words.
  • Loading branch information
johnwargo authored and pmcquay committed Sep 2, 2022
1 parent bc88a8e commit e624138
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 e624138

Please sign in to comment.