|
|
|
@ -4,8 +4,7 @@ import { snip } from '../../utils/snip';
|
|
|
|
|
import Renderer from '../Renderer';
|
|
|
|
|
import { stringify_props } from '../../utils/stringify_props';
|
|
|
|
|
import { get_slot_scope } from './shared/get_slot_scope';
|
|
|
|
|
|
|
|
|
|
type AppendTarget = any; // TODO
|
|
|
|
|
import { AppendTarget } from '../../../interfaces';
|
|
|
|
|
|
|
|
|
|
function stringify_attribute(chunk: Node) {
|
|
|
|
|
if (chunk.type === 'Text') {
|
|
|
|
@ -111,4 +110,4 @@ export default function(node, renderer: Renderer, options) {
|
|
|
|
|
const slots = stringify_props(slot_fns);
|
|
|
|
|
|
|
|
|
|
renderer.append(`\${@validate_component(${expression}, '${node.name}').$$render($$result, ${props}, ${bindings}, ${slots})}`);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|