domql 1.5.43 → 1.5.44

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": "symbo.ls",
6
- "version": "1.5.43",
6
+ "version": "1.5.44",
7
7
  "repository": "https://github.com/domql/domql",
8
8
  "publishConfig": {
9
9
  "registry": "https://registry.npmjs.org"
@@ -5,7 +5,7 @@ import { debounce, deepClone, exec, isFunction, isObject, overwriteDeep } from '
5
5
 
6
6
  export const IGNORE_STATE_PARAMS = [
7
7
  'update', 'parse', 'clean', 'parent', 'systemUpdate', '__element', '__depends', '__ref', '__root',
8
- '__components', '__client_system', '__client_state', '__client_library'
8
+ '__components', '__projectSystem', '__projectState', '__projectLibrary'
9
9
  ]
10
10
 
11
11
  export const parseState = function () {
@@ -32,7 +32,7 @@ export const cleanState = function () {
32
32
  export const systemUpdate = function (obj, options = {}) {
33
33
  const state = this
34
34
  const rootState = (state.__element.__root || state.__element).state
35
- rootState.update({ CLIENT_SYSTEM: obj }, options)
35
+ rootState.update({ PROJECT_SYSTEM: obj }, options)
36
36
  return state
37
37
  }
38
38
 
@@ -96,9 +96,9 @@ export default function (element, parent) {
96
96
  state.parent = element.parent.state
97
97
  state.__root = __root ? __root.state : state
98
98
  state.__components = (state.__root || state).COMPONENTS
99
- state.__client_system = (state.__root || state).CLIENT_SYSTEM
100
- state.__client_state = (state.__root || state).CLIENT_STATE
101
- state.__client_library = (state.__root || state).CLIENT_LIBRARY
99
+ state.__projectSystem = (state.__root || state).PROJECT_SYSTEM
100
+ state.__projectState = (state.__root || state).PROJECT_STATE
101
+ state.__projectLibrary = (state.__root || state).PROJECT_LIBRARY
102
102
 
103
103
  // run `on.stateCreated`
104
104
  if (element.on && isFunction(element.on.stateCreated)) {