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
  48c4181f_c908_6fd1_3ac3_c3d152596b74["index.svelte.js"]
  4076941f_01d8_e54b_a571_b95a5cd6c871["server"]
  48c4181f_c908_6fd1_3ac3_c3d152596b74 --> 4076941f_01d8_e54b_a571_b95a5cd6c871
  style 48c4181f_c908_6fd1_3ac3_c3d152596b74 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

export default function Each_string_template($$renderer) {
	$$renderer.push(`<!--[-->`);

	const each_array = $.ensure_array_like(['foo', 'bar', 'baz']);

	for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
		let thing = each_array[$$index];

		$$renderer.push(`<!---->${$.escape(thing)}, `);
	}

	$$renderer.push(`<!--]-->`);
}

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): Each_string_template.
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/each-string-template/_expected/server/index.svelte.js (domain: BuildSystem, subdomain: QualityControl, directory: packages/svelte/tests/snapshot/samples/each-string-template/_expected/server).

Analyze Your Own Codebase

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

Try Supermodel Free