pull/2260/head
Rich Harris 7 years ago
parent 003a56b348
commit 8feef5edfc

@ -182,6 +182,8 @@ export default class WindowWrapper extends Wrapper {
`@listen(window, "online", ctx.${handler_name})`,
`@listen(window, "offline", ctx.${handler_name})`
);
component.has_reactive_assignments = true;
}
}
}

@ -33,7 +33,7 @@ function create_fragment(ctx) {
};
}
function instance($$self) {
function instance($$self, $$props, $$invalidate) {
let online;
function onlinestatuschanged() {

Loading…
Cancel
Save