cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: Fixed docs for online/offline event being backwards
Date Fri, 27 Jun 2014 15:20:40 GMT
Repository: cordova-plugin-network-information
Updated Branches:
  refs/heads/master c19fecc19 -> 6869d768a


Fixed docs for online/offline event being backwards

github: close apache/cordova-docs#213


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/6869d768
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/6869d768
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/6869d768

Branch: refs/heads/master
Commit: 6869d768a149c7b714f3b2904cbff6afc0f2c8af
Parents: c19fecc
Author: guglie <gdguglie@gmail.com>
Authored: Fri Jun 27 11:19:18 2014 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Fri Jun 27 11:20:35 2014 -0400

----------------------------------------------------------------------
 doc/index.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/6869d768/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 8c48ffe..ebae403 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -128,8 +128,7 @@ not connected to the Internet.
 The `offline` event fires when a previously connected device loses a
 network connection so that an application can no longer access the
 Internet.  It relies on the same information as the Connection API,
-and fires when the `connection.type` changes from `NONE` to any other
-value.
+and fires when the value of `connection.type` becomes `NONE`.
 
 Applications typically should use `document.addEventListener` to
 attach an event listener once the `deviceready` event fires.
@@ -166,8 +165,9 @@ 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`.
+It relies on the same information as the Connection API,
+and fires when the `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.


Mime
View raw message