domql
Advanced tools
Comparing version 1.6.44 to 1.6.45
@@ -227,4 +227,4 @@ "use strict"; | ||
element.state = {}; | ||
element = (0, import_props.createProps)(element, parent); | ||
(0, import_state.createState)(element, parent, { skip: true }); | ||
(0, import_state.createState)(element, parent, { skipApplyMethods: true }); | ||
(0, import_props.createProps)(element, parent); | ||
(0, import_component.applyVariant)(element, parent); | ||
@@ -231,0 +231,0 @@ (0, import_iterate.throughInitialExec)(element, options.propsExcludedFromExec); |
@@ -50,3 +50,3 @@ "use strict"; | ||
continue; | ||
const newExec = ref.__exec[param](element, element.state); | ||
const newExec = ref.__exec[param](element, element.state, element.context); | ||
const execReturnsString = (0, import_utils.isString)(newExec) || (0, import_utils.isNumber)(newExec); | ||
@@ -80,3 +80,3 @@ if (prop && prop.node && execReturnsString) { | ||
} | ||
const execParam = defineObj[param](elementProp, element, element.state); | ||
const execParam = defineObj[param](elementProp, element, element.state, element.context); | ||
if (execParam) | ||
@@ -98,5 +98,5 @@ element[param] = execParam; | ||
if (execParam) | ||
ref.__defineCache[param] = execParam(element, element.state); | ||
ref.__defineCache[param] = execParam(element, element.state, element.context); | ||
const cached = (0, import_utils.exec)(ref.__defineCache[param], element); | ||
const newExecParam = obj[param](cached, element, element.state); | ||
const newExecParam = obj[param](cached, element, element.state, element.context); | ||
if (newExecParam) | ||
@@ -103,0 +103,0 @@ element[param] = newExecParam; |
{ | ||
"name": "domql", | ||
"description": "DOM rendering Javascript framework at early stage.", | ||
"version": "1.6.44", | ||
"version": "1.6.45", | ||
"repository": "https://github.com/domql/domql", | ||
@@ -6,0 +6,0 @@ "publishConfig": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2292783
75
62611
77