|
|
@ -2,7 +2,7 @@
|
|
|
|
import { assign, createElement, detachNode, init, insert, noop, proto } from "svelte/shared.js";
|
|
|
|
import { assign, createElement, detachNode, init, insert, noop, proto } from "svelte/shared.js";
|
|
|
|
|
|
|
|
|
|
|
|
function link(node) {
|
|
|
|
function link(node) {
|
|
|
|
|
|
|
|
|
|
|
|
function onClick(event) {
|
|
|
|
function onClick(event) {
|
|
|
|
event.preventDefault();
|
|
|
|
event.preventDefault();
|
|
|
|
history.pushState(null, null, event.target.href);
|
|
|
|
history.pushState(null, null, event.target.href);
|
|
|
@ -25,11 +25,11 @@ function create_main_fragment(component, ctx) {
|
|
|
|
a = createElement("a");
|
|
|
|
a = createElement("a");
|
|
|
|
a.textContent = "Test";
|
|
|
|
a.textContent = "Test";
|
|
|
|
a.href = "#";
|
|
|
|
a.href = "#";
|
|
|
|
link_action = link.call(component, a) || {};
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
m(target, anchor) {
|
|
|
|
m(target, anchor) {
|
|
|
|
insert(target, a, anchor);
|
|
|
|
insert(target, a, anchor);
|
|
|
|
|
|
|
|
link_action = link.call(component, a) || {};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
p: noop,
|
|
|
|
p: noop,
|
|
|
|