1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-04 21:42:14 +02:00

asyncQueue

This commit is contained in:
2024-12-12 17:16:31 +01:00
parent c085f268e8
commit 89553383bb
3 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,8 @@ export const enviroment= {
H: globalThis.HTMLElement,
S: globalThis.SVGElement,
M: globalThis.MutationObserver,
qa: (p)=> p,
qw: ()=> Promise.resolve(),
};
import { isUndef } from './helpers.js';
function setDeleteAttr(obj, prop, val){

View File

@ -1,6 +1,7 @@
import { signals } from "./signals-common.js";
import { enviroment as env } from './dom-common.js';
export function asyncQueueAdd(promise){ return env.qa(promise); }
/** @type {{ scope: object, prevent: boolean, host: function }[]} */
const scopes= [ {
get scope(){ return env.D.body; },