Home / File/ index.svelte.js — svelte Source File

index.svelte.js — svelte Source File

Architecture documentation for index.svelte.js, a javascript file in the svelte codebase. 1 imports, 0 dependents.

File javascript BuildSystem QualityControl 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  5ebadc8b_764f_05f4_7961_1818f0f5457f["index.svelte.js"]
  4076941f_01d8_e54b_a571_b95a5cd6c871["server"]
  5ebadc8b_764f_05f4_7961_1818f0f5457f --> 4076941f_01d8_e54b_a571_b95a5cd6c871
  style 5ebadc8b_764f_05f4_7961_1818f0f5457f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import * as $ from 'svelte/internal/server';

export default function Skip_static_subtree($$renderer, $$props) {
	let { title, content } = $$props;

	$$renderer.push(`<header><nav><a href="/">Home</a> <a href="/away">Away</a></nav></header> <main><h1>${$.escape(title)}</h1> <div class="static"><p>we don't need to traverse these nodes</p></div> <p>or</p> <p>these</p> <p>ones</p> ${$.html(content)} <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 with="attributes"></custom-elements></cant-skip> <div><input autofocus=""/></div> <div><source muted=""/></div> <select>`);

	$$renderer.option({ value: 'a' }, ($$renderer) => {
		$$renderer.push(`a`);
	});

	$$renderer.push(`</select> <img src="..." alt="" loading="lazy"/> <div><img src="..." alt="" loading="lazy"/></div>`);
}

Domain

Subdomains

Dependencies

  • server

Frequently Asked Questions

What does index.svelte.js do?
index.svelte.js is a source file in the svelte codebase, written in javascript. It belongs to the BuildSystem domain, QualityControl subdomain.
What functions are defined in index.svelte.js?
index.svelte.js defines 1 function(s): Skip_static_subtree.
What does index.svelte.js depend on?
index.svelte.js imports 1 module(s): server.
Where is index.svelte.js in the architecture?
index.svelte.js is located at packages/svelte/tests/snapshot/samples/skip-static-subtree/_expected/server/index.svelte.js (domain: BuildSystem, subdomain: QualityControl, directory: packages/svelte/tests/snapshot/samples/skip-static-subtree/_expected/server).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free