You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/10/28 22:41:05 UTC
docs commit: Update events.online.md
Updated Branches:
refs/heads/master 55f1f4189 -> ad7aa9051
Update events.online.md
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/ad7aa905
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/ad7aa905
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/ad7aa905
Branch: refs/heads/master
Commit: ad7aa90511f5bc27969701daa8857928b65a604c
Parents: 55f1f41
Author: niks999 <ni...@gmail.com>
Authored: Mon Oct 28 16:22:08 2013 +0530
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Mon Oct 28 14:40:58 2013 -0700
----------------------------------------------------------------------
docs/en/3.1.0/cordova/events/events.online.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ad7aa905/docs/en/3.1.0/cordova/events/events.online.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/events/events.online.md b/docs/en/3.1.0/cordova/events/events.online.md
index a3aac71..1d05e36 100644
--- a/docs/en/3.1.0/cordova/events/events.online.md
+++ b/docs/en/3.1.0/cordova/events/events.online.md
@@ -29,7 +29,8 @@ becomes connected to the Internet.
The `online` event fires when a previously unconnected device receives
a network connection to allow an application access to the Internet.
It relies on the same information as the Connection API, and fires
-when the value of `connection.type` becomes `NONE`.
+when the value of `connection.type` changes from `NONE` to any other
+value.
Applications typically should use `document.addEventListener` to
attach an event listener once the `deviceready` event fires.