@@ 1,6 1,6 @@
/* Web.HTML.Navigator.Extra */
"use strict";
exports.connectionImpl = function(navigator) {
export function connectionImpl(navigator) {
return navigator.connection;
}
@@ 1,11 1,11 @@
/* Web.NetworkInformation */
"use strict";
-exports.getProp = function(propName, netInfo) {
+export function getProp(propName, netInfo) {
return netInfo[propName];
}
-exports.onChangeImpl = function(handler, netInfo) {
+export function onChangeImpl(handler, netInfo) {
netInfo.onchange = function(e) {
handler(e)();
};