main.svelte.js — svelte Source File
Architecture documentation for main.svelte.js, a javascript file in the svelte codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR eb7797a7_6861_36f2_277b_db419f64025d["main.svelte.js"] 4076941f_01d8_e54b_a571_b95a5cd6c871["server"] eb7797a7_6861_36f2_277b_db419f64025d --> 4076941f_01d8_e54b_a571_b95a5cd6c871 style eb7797a7_6861_36f2_277b_db419f64025d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import * as $ from 'svelte/internal/server';
export default function Main($$renderer) {
// needs to be a snapshot test because jsdom does auto-correct the attribute casing
let x = 'test';
let y = () => 'test';
$$renderer.push(`<div${$.attr('foobar', x)}></div> <svg${$.attr('viewBox', x)}></svg> <custom-element${$.attr('foobar', x)}></custom-element> <div${$.attr('foobar', y())}></div> <svg${$.attr('viewBox', y())}></svg> <custom-element${$.attr('foobar', y())}></custom-element>`);
}
Domain
Subdomains
Functions
Dependencies
- server
Source
Frequently Asked Questions
What does main.svelte.js do?
main.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 main.svelte.js?
main.svelte.js defines 1 function(s): Main.
What does main.svelte.js depend on?
main.svelte.js imports 1 module(s): server.
Where is main.svelte.js in the architecture?
main.svelte.js is located at packages/svelte/tests/snapshot/samples/dynamic-attributes-casing/_expected/server/main.svelte.js (domain: BuildSystem, subdomain: QualityControl, directory: packages/svelte/tests/snapshot/samples/dynamic-attributes-casing/_expected/server).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free