|
|
@ -1,7 +1,7 @@
|
|
|
|
import "svelte/internal/disclose-version";
|
|
|
|
import "svelte/internal/disclose-version";
|
|
|
|
import * as $ from "svelte/internal/client";
|
|
|
|
import * as $ from "svelte/internal/client";
|
|
|
|
|
|
|
|
|
|
|
|
var root = $.template(`<header><nav><a href="/">Home</a> <a href="/away">Away</a></nav></header> <main><h1> </h1> <div class="static"><p>we don't need to traverse these nodes</p></div> <p>or</p> <p>these</p> <p>ones</p> <!></main> <cant-skip><custom-elements></custom-elements></cant-skip>`, 3);
|
|
|
|
var root = $.template(`<header><nav><a href="/">Home</a> <a href="/away">Away</a></nav></header> <main><h1> </h1> <div class="static"><p>we don't need to traverse these nodes</p></div> <p>or</p> <p>these</p> <p>ones</p> <!> <p>these</p> <p>trailing</p> <p>nodes</p> <p>can</p> <p>be</p> <p>completely</p> <p>ignored</p></main> <cant-skip><custom-elements></custom-elements></cant-skip>`, 3);
|
|
|
|
|
|
|
|
|
|
|
|
export default function Skip_static_subtree($$anchor, $$props) {
|
|
|
|
export default function Skip_static_subtree($$anchor, $$props) {
|
|
|
|
var fragment = root();
|
|
|
|
var fragment = root();
|
|
|
@ -14,6 +14,7 @@ export default function Skip_static_subtree($$anchor, $$props) {
|
|
|
|
var node = $.sibling(h1, 10);
|
|
|
|
var node = $.sibling(h1, 10);
|
|
|
|
|
|
|
|
|
|
|
|
$.html(node, () => $$props.content, false, false);
|
|
|
|
$.html(node, () => $$props.content, false, false);
|
|
|
|
|
|
|
|
$.next(14);
|
|
|
|
$.reset(main);
|
|
|
|
$.reset(main);
|
|
|
|
|
|
|
|
|
|
|
|
var cant_skip = $.sibling(main, 2);
|
|
|
|
var cant_skip = $.sibling(main, 2);
|
|
|
|