|
|
|
@ -80,8 +80,6 @@ export function SvelteElement(node, context) {
|
|
|
|
|
) {
|
|
|
|
|
build_set_class(node, element_id, attributes[0], class_directives, inner_context, false);
|
|
|
|
|
} else if (attributes.length) {
|
|
|
|
|
const attributes_id = b.id(context.state.scope.generate('attributes'));
|
|
|
|
|
|
|
|
|
|
// Always use spread because we don't know whether the element is a custom element or not,
|
|
|
|
|
// therefore we need to do the "how to set an attribute" logic at runtime.
|
|
|
|
|
build_set_attributes(
|
|
|
|
@ -90,8 +88,7 @@ export function SvelteElement(node, context) {
|
|
|
|
|
style_directives,
|
|
|
|
|
inner_context,
|
|
|
|
|
node,
|
|
|
|
|
element_id,
|
|
|
|
|
attributes_id
|
|
|
|
|
element_id
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|