9
0
mirror of https://gitee.com/shuto/cordova-plugin-network-information.git synced 2025-03-18 05:37:00 +08:00

Fix naviagtor typo

This commit is contained in:
Bas Bosman 2014-07-18 17:21:26 +02:00
parent b61bc6700b
commit c86adb7db8

@ -24,7 +24,7 @@ var exec = require('cordova/exec'),
utils = require('cordova/utils'); utils = require('cordova/utils');
// Link the onLine property with the Cordova-supplied network info. // Link the onLine property with the Cordova-supplied network info.
// This works because we clobber the naviagtor object with our own // This works because we clobber the navigator object with our own
// object in bootstrap.js. // object in bootstrap.js.
if (typeof navigator != 'undefined') { if (typeof navigator != 'undefined') {
utils.defineGetter(navigator, 'onLine', function() { utils.defineGetter(navigator, 'onLine', function() {