@maverick-js/compiler
Advanced tools
Comparing version 0.36.4 to 0.36.5
@@ -832,6 +832,6 @@ import { createFunctionCall, setGlobalLogLevel, mapLogLevelStringToNumber, log, logTime, Declarations, format, createImportDeclaration, trimQuotes, trimTrailingSemicolon, createStringLiteral, selfInvokingFunction, escapeDoubleQuotes, createObjectLiteral, trimWhitespace } from './chunks/chunk-SEGPSIF6.js'; | ||
ctx.runtime.add(RUNTIME.children); | ||
}, insert = (marker, block) => { | ||
}, RUNTIME_INSERT = !ctx.diffArrays ? RUNTIME.insertLite : RUNTIME.insert, insert = (marker, block) => { | ||
const beforeId = ctx.hydratable ? null : getNextElementId(); | ||
const parentId = ctx.hydratable ? (marker == null ? void 0 : marker()) ?? null : getParentElementId(); | ||
const insertId = ctx.hydratable ? !ctx.diffArrays ? RUNTIME.insertAtMarkerLite : RUNTIME.insertAtMarker : !ctx.diffArrays ? RUNTIME.insertLite : RUNTIME.insert; | ||
const insertId = ctx.hydratable ? !ctx.diffArrays ? RUNTIME.insertAtMarkerLite : RUNTIME.insertAtMarker : RUNTIME_INSERT; | ||
expressions.push(createFunctionCall(insertId, [parentId, block, beforeId])); | ||
@@ -888,3 +888,4 @@ ctx.runtime.add(insertId); | ||
currentId, | ||
props.length > 0 ? `{ ${props.join(", ")} }` : null | ||
props.length > 0 ? `{ ${props.join(", ")} }` : "null", | ||
RUNTIME_INSERT | ||
]) | ||
@@ -894,2 +895,3 @@ ); | ||
template.push(` mk-d`); | ||
ctx.runtime.add(RUNTIME_INSERT); | ||
ctx.runtime.add(RUNTIME.setupCustomElement); | ||
@@ -896,0 +898,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.36.4", | ||
"version": "0.36.5", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "types": "dist/types/index.d.ts", |
Sorry, the diff of this file is not supported yet
266911
7153