pull/12535/head
Dominic Gannaway 2 years ago
parent c02af8e5a6
commit fdb58d37e2

@ -5,6 +5,18 @@ import { DEV } from 'esm-env';
var bold = 'font-weight: bold';
var normal = 'font-weight: normal';
/**
* The `render` function of `createRawSnippet` is expected to return the HTML for a single element. Ensure the HTML generated from `render` is correct.
*/
export function bad_raw_snippet_render() {
if (DEV) {
console.warn(`%c[svelte] bad_raw_snippet_render\n%cThe \`render\` function of \`createRawSnippet\` is expected to return the HTML for a single element. Ensure the HTML generated from \`render\` is correct.`, bold, normal);
} else {
// TODO print a link to the documentation
console.warn("bad_raw_snippet_render");
}
}
/**
* `%binding%` (%location%) is binding to a non-reactive property
* @param {string} binding
@ -112,16 +124,4 @@ export function state_proxy_equality_mismatch(operator) {
// TODO print a link to the documentation
console.warn("state_proxy_equality_mismatch");
}
}
/**
* The `render` function of `createRawSnippet` is expected to return the HTML for a single element. Ensure the HTML generated from `render` is correct.
*/
export function bad_raw_snippet_render() {
if (DEV) {
console.warn(`%c[svelte] bad_raw_snippet_render\n%cThe \`render\` function of \`createRawSnippet\` is expected to return the HTML for a single element. Ensure the HTML generated from \`render\` is correct.`, bold, normal);
} else {
// TODO print a link to the documentation
console.warn("bad_raw_snippet_render");
}
}
Loading…
Cancel
Save