domql 3.14.0 → 3.14.3
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/CHANGELOG.md +25 -0
- package/dist/cjs/index.js +1 -33
- package/dist/cjs/package.json +1 -0
- package/dist/esm/index.js +1 -13
- package/package.json +19 -17
- package/dist/iife/index.js +0 -8154
- package/index.js +0 -13
package/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import { create as createElement } from '@symbo.ls/element'
|
|
4
|
-
|
|
5
|
-
export const TREE = {}
|
|
6
|
-
|
|
7
|
-
export const create = (element, parent, key, options) => {
|
|
8
|
-
const domqlElement = createElement(element, parent, key, options)
|
|
9
|
-
if (!domqlElement) return domqlElement
|
|
10
|
-
return domqlElement
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default { TREE, create }
|