mirror of
https://gitee.com/shuto/cordova-plugin-network-information.git
synced 2025-01-18 21:52:48 +08:00
javascritp should clobber navigator.connection instead of navigator.network
This commit is contained in:
parent
cfa794b722
commit
f9402f0061
@ -8,7 +8,7 @@ id="org.apache.cordova.core.NetworkManager"
|
||||
<name>Network Information</name>
|
||||
|
||||
<js-module src="www/network.js" name="network">
|
||||
<clobbers target="navigator.network" />
|
||||
<clobbers target="navigator.connection" />
|
||||
</js-module>
|
||||
|
||||
<!-- android -->
|
||||
|
Loading…
Reference in New Issue
Block a user