- From: Dzung Tran via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 16 Jun 2010 05:11:04 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv13613/system-info
Modified Files:
Overview.html
Log Message:
Updated the code sample for activeConnections.
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/Overview.html,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- Overview.html 16 Jun 2010 05:03:22 -0000 1.119
+++ Overview.html 16 Jun 2010 05:11:02 -0000 1.120
@@ -531,7 +531,7 @@
navigator.system.get("Network",success,null);
function success(network) {
- var active = network.activeConnection;
+ var active = network.activeConnections[0];
if (active.type === active.TYPE_WIFI)
navigator.system.monitor("Connection",{id:active.id},wifiMonitorCB);
}
Received on Wednesday, 16 June 2010 05:11:07 UTC