pull/7738/head
Rich Harris 7 years ago
parent 43bf63448d
commit f362a92b40

@ -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