@domql/node
Advanced tools
Comparing version 2.3.113 to 2.3.116
'use strict' | ||
import { isFunction, isObject } from '@domql/utils' | ||
import { on, applyEventsOnNode } from '@domql/event' | ||
import { applyEventsOnNode } from '@domql/event' | ||
import { defaultMethods } from '@domql/mixins' | ||
@@ -26,6 +26,3 @@ import { cacheNode } from './cache' | ||
// run `on.attachNode` | ||
if (element.on && isFunction(element.on.attachNode)) { | ||
on.attachNode(element.on.attachNode, element, element.state) | ||
} | ||
triggerEventOn('attachNode', element) | ||
} | ||
@@ -32,0 +29,0 @@ |
@@ -41,5 +41,3 @@ "use strict"; | ||
node = element.node = (0, import_cache.cacheNode)(element); | ||
if (element.on && (0, import_utils.isFunction)(element.on.attachNode)) { | ||
import_event.on.attachNode(element.on.attachNode, element, element.state); | ||
} | ||
triggerEventOn("attachNode", element); | ||
} | ||
@@ -46,0 +44,0 @@ if (ENV === "test" || ENV === "development") { |
{ | ||
"name": "@domql/node", | ||
"version": "2.3.113", | ||
"version": "2.3.116", | ||
"license": "MIT", | ||
@@ -32,3 +32,3 @@ "type": "module", | ||
}, | ||
"gitHead": "55a450c7abd477de577044072e705cc1363961b5" | ||
"gitHead": "79f9f8ee7dac232fe8eb3cb0ec22f7ba91c66b7b" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12173
265