1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 12:22:15 +02:00

debug options for (e.g.) document.body

This commit is contained in:
2025-02-22 16:20:24 +01:00
parent 72227a80df
commit dba4e93b88
3 changed files with 30 additions and 25 deletions

View File

@ -557,16 +557,18 @@ var st = {
};
function ut(t, e, ...r) {
let { current: n } = x;
n.prevent || n.host(function(o) {
o[D] || (o[D] = [], _.disconnected(
n.host(function(o) {
if (o[D])
return o[D].push([[t, e], ...r]);
o[D] = [], !n.prevent && _.disconnected(
() => (
/*!
* Clears all Signals listeners added in the current scope/host (`S.el`, `assign`, …?).
* You can investigate the `__dde_reactive` key of the element.
* */
* Clears all Signals listeners added in the current scope/host (`S.el`, `assign`, …?).
* You can investigate the `__dde_reactive` key of the element.
* */
o[D].forEach(([[c, u]]) => R(c, u, c[l] && c[l].host && c[l].host() === o))
)
)(o)), o[D].push([[t, e], ...r]);
)(o);
});
}
function it(t, e, r) {

View File

@ -555,16 +555,18 @@ var st = {
};
function ut(t, e, ...r) {
let { current: n } = x;
n.prevent || n.host(function(o) {
o[D] || (o[D] = [], _.disconnected(
n.host(function(o) {
if (o[D])
return o[D].push([[t, e], ...r]);
o[D] = [], !n.prevent && _.disconnected(
() => (
/*!
* Clears all Signals listeners added in the current scope/host (`S.el`, `assign`, …?).
* You can investigate the `__dde_reactive` key of the element.
* */
* Clears all Signals listeners added in the current scope/host (`S.el`, `assign`, …?).
* You can investigate the `__dde_reactive` key of the element.
* */
o[D].forEach(([[c, u]]) => R(c, u, c[l] && c[l].host && c[l].host() === o))
)
)(o)), o[D].push([[t, e], ...r]);
)(o);
});
}
function it(t, e, r) {