mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-07-04 21:42:14 +02:00
⚡ 🐛 improves/fixes queue
This commit is contained in:
@ -6,8 +6,7 @@ export const enviroment= {
|
||||
H: globalThis.HTMLElement,
|
||||
S: globalThis.SVGElement,
|
||||
M: globalThis.MutationObserver,
|
||||
qa: (p)=> p,
|
||||
qw: ()=> Promise.resolve(),
|
||||
q: p=> p || Promise.resolve(),
|
||||
};
|
||||
import { isUndef } from './helpers.js';
|
||||
function setDeleteAttr(obj, prop, val){
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { signals } from "./signals-common.js";
|
||||
import { enviroment as env } from './dom-common.js';
|
||||
|
||||
export function asyncQueueAdd(promise){ return env.qa(promise); }
|
||||
export function queue(promise){ return env.q(promise); }
|
||||
/** @type {{ scope: object, prevent: boolean, host: function }[]} */
|
||||
const scopes= [ {
|
||||
get scope(){ return env.D.body; },
|
||||
|
Reference in New Issue
Block a user