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. 3 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  32174750_373a_ebe6_11a8_00c4ae703940["index.svelte.js"]
  a847d475_28e2_6e69_a137_e9b47aec897c["disclose-version"]
  32174750_373a_ebe6_11a8_00c4ae703940 --> a847d475_28e2_6e69_a137_e9b47aec897c
  d687b44b_26f5_c190_e61f_74ec24b250f5["legacy"]
  32174750_373a_ebe6_11a8_00c4ae703940 --> d687b44b_26f5_c190_e61f_74ec24b250f5
  1a59b12b_63d5_2eb4_1881_6fb96dbdcb56["client"]
  32174750_373a_ebe6_11a8_00c4ae703940 --> 1a59b12b_63d5_2eb4_1881_6fb96dbdcb56
  style 32174750_373a_ebe6_11a8_00c4ae703940 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import 'svelte/internal/disclose-version';
import 'svelte/internal/flags/legacy';
import * as $ from 'svelte/internal/client';

var root = $.from_html(`<p></p> <p></p> <!>`, 1);

export default function Purity($$anchor) {
	var fragment = root();
	var p = $.first_child(fragment);

	p.textContent = '0';

	var p_1 = $.sibling(p, 2);

	p_1.textContent = location.href;

	var node = $.sibling(p_1, 2);

	Child(node, { prop: encodeURIComponent('hello') });
	$.append($$anchor, fragment);
}

Domain

Subdomains

Functions

Dependencies

  • client
  • disclose-version
  • legacy

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, MessageProcessor subdomain.
What functions are defined in index.svelte.js?
index.svelte.js defines 1 function(s): Purity.
What does index.svelte.js depend on?
index.svelte.js imports 3 module(s): client, disclose-version, legacy.
Where is index.svelte.js in the architecture?
index.svelte.js is located at packages/svelte/tests/snapshot/samples/purity/_expected/client/index.svelte.js (domain: BuildSystem, subdomain: MessageProcessor, directory: packages/svelte/tests/snapshot/samples/purity/_expected/client).

Analyze Your Own Codebase

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

Try Supermodel Free