domql 1.4.18 → 1.4.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "DOM rendering Javascript framework at early stage.",
4
4
  "private": false,
5
5
  "author": "rackai",
6
- "version": "1.4.18",
6
+ "version": "1.4.19",
7
7
  "repository": "https://github.com/rackai/domql",
8
8
  "publishConfig": {
9
9
  "registry": "https://registry.npmjs.org"
@@ -23,8 +23,8 @@ export const initEmotion = (container, options) => {
23
23
  const style = (params, element, node) => {
24
24
  const execPareams = exec(params, element)
25
25
  if (params) {
26
- if (isObjectLike(element.class)) element.class.style = execPareams
27
- else element.class = { style: execPareams }
26
+ if (isObjectLike(element.class)) element.class.elementStyle = execPareams
27
+ else element.class = { elementStyle: execPareams }
28
28
  }
29
29
  classf(element.class, element, node)
30
30
  }