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 2012/05/31 22:32:31 UTC

[2/2] docs commit: Move Connection quirks to the type function docs.

Move Connection quirks to the type function docs.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/cb7d776a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/cb7d776a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/cb7d776a

Branch: refs/heads/master
Commit: cb7d776a8700fcdf391813726d8bd82ef406408c
Parents: 10142c4
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Thu May 31 13:11:40 2012 -0700
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Thu May 31 13:11:40 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/cordova/connection/connection.md      |   21 -------------
 docs/en/edge/cordova/connection/connection.type.md |   24 +++++++++++++-
 2 files changed, 22 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/cb7d776a/docs/en/edge/cordova/connection/connection.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/connection/connection.md b/docs/en/edge/cordova/connection/connection.md
index 8f9c02d..5f6db54 100644
--- a/docs/en/edge/cordova/connection/connection.md
+++ b/docs/en/edge/cordova/connection/connection.md
@@ -40,27 +40,6 @@ Constants
 - Connection.CELL_4G
 - Connection.NONE
 
-WP7 Quirk
----------
-
-- __type:__
-Windows Phone Emulator always reports navigator.network.connection.type is Connection.UNKNOWN
-
-iOS Quirk
----------
-
-- __type:__
-iOS can only report whether the device is on a cellular connection, not
-of what type, thus it will always report as CELL_2G
-
-Bada Quirk
-----------
-- Bada can only report if device is on Wifi or connected to cellular connection CELL_2G ( type not reported )
-
-webOS Quirks
-------------
-- will only show that a connection is available, but not which type
-
 Permissions
 -----------
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/cb7d776a/docs/en/edge/cordova/connection/connection.type.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/connection/connection.type.md b/docs/en/edge/cordova/connection/connection.type.md
index c103b98..0ba7a30 100644
--- a/docs/en/edge/cordova/connection/connection.type.md
+++ b/docs/en/edge/cordova/connection/connection.type.md
@@ -27,7 +27,6 @@ Description
 
 This property is a fast way to determine the device's network connection state, and type of connection.
 
-
 Supported Platforms
 -------------------
 
@@ -58,7 +57,6 @@ Quick Example
     
     checkConnection();
 
-
 Full Example
 ------------
 
@@ -101,3 +99,25 @@ Full Example
         <p>A dialog box will report the network state.</p>
       </body>
     </html>
+
+iOS Quirks
+----------
+
+- iOS cannot detect the type of cellular network connection.
+    - `navigator.network.connection.type` is set to `Connection.CELL_2G` for all cellular data.
+
+Bada Quirks
+-----------
+
+- Bada can only detect a WiFi or cellular connection.
+    - `navigator.network.connection.type` is set to `Connection.CELL_2G` for all cellular data.
+
+webOS Quirks
+------------
+
+- Only shows that a connection is available, but not which type.
+
+Windows Phone Quirks
+--------------------
+
+- Windows Phone Emulator always detects `navigator.network.connection.type` as `Connection.UNKNOWN`.