fix usage comments

add delay in setTimeout to ensure connection attribute has been set.
This commit is contained in:
Keith D. Moore 2016-04-30 14:58:46 -05:00
parent 26dcff4db7
commit 9d359a50e2

View File

@ -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