mirror of
https://gitee.com/shuto/cordova-plugin-network-information.git
synced 2025-03-15 12:51:00 +08:00
Fix naviagtor typo
This commit is contained in:
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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user