Update network.ts

This commit is contained in:
Ibrahim Hadeed 2016-12-17 20:52:19 -05:00 committed by GitHub
parent cabe327e9b
commit e42f4d0079

View File

@ -29,7 +29,7 @@ declare var navigator: any;
* // before we determine the connection type. Might need to wait
* // prior to doing any api requests as well.
* setTimeout(() => {
* if (Network.connection === 'wifi') {
* if (Network.type === 'wifi') {
* console.log('we got a wifi connection, woohoo!');
* }
* }, 3000);