@domql/state
Advanced tools
Comparing version 2.3.150 to 2.3.151
@@ -30,6 +30,3 @@ 'use strict' | ||
if (skipApplyMethods) { | ||
if (element.parent && element.parent.state) | ||
element.state.parent = element.parent.state | ||
else | ||
element.state.parent = {} | ||
if (element.parent && element.parent.state) { element.state.parent = element.parent.state } else { element.state.parent = {} } | ||
return element.state | ||
@@ -36,0 +33,0 @@ } |
@@ -48,6 +48,7 @@ "use strict"; | ||
if (skipApplyMethods) { | ||
if (element.parent && element.parent.state) | ||
if (element.parent && element.parent.state) { | ||
element.state.parent = element.parent.state; | ||
else | ||
} else { | ||
element.state.parent = {}; | ||
} | ||
return element.state; | ||
@@ -54,0 +55,0 @@ } |
{ | ||
"name": "@domql/state", | ||
"version": "2.3.150", | ||
"version": "2.3.151", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
}, | ||
"gitHead": "368c731d0e9f7225329b235dfa446d41a36a341c" | ||
"gitHead": "2b240bcbceb25fc4ffda75c25232c66a8e183614" | ||
} |
35017
924