You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/js/samples/debug-ssr-foo/expected.js

21 lines
600 B

/* generated by Svelte vX.Y.Z */
6 years ago
import {
create_ssr_component,
debug,
each,
escape
} from "svelte/internal";
const SvelteComponent = create_ssr_component(($$result, $$props, $$bindings, $$slots) => {
let { things, foo } = $$props;
if ($$props.things === void 0 && $$bindings.things && things !== void 0) $$bindings.things(things);
if ($$props.foo === void 0 && $$bindings.foo && foo !== void 0) $$bindings.foo(foo);
return `${each(things, (thing) => `<span>${escape(thing.name)}</span>
${debug(null, 7, 2, { foo })}`)}
<p>foo: ${escape(foo)}</p>`;
});
export default SvelteComponent;