mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
fix usage comments
add delay in setTimeout to ensure connection attribute has been set.
This commit is contained in:
parent
26dcff4db7
commit
9d359a50e2
@ -32,7 +32,7 @@ declare var navigator: any;
|
|||||||
* if (Network.connection === Connection.WIFI) {
|
* if (Network.connection === Connection.WIFI) {
|
||||||
* console.log('we got a wifi connection, woohoo!');
|
* console.log('we got a wifi connection, woohoo!');
|
||||||
* }
|
* }
|
||||||
* });
|
* }, 3000);
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* // stop connect watch
|
* // stop connect watch
|
||||||
|
Loading…
Reference in New Issue
Block a user