mirror of
https://github.com/jaandrle/deka-dom-el
synced 2026-04-28 08:35:28 +02:00
🔤
This commit is contained in:
Vendored
+5
@@ -177,6 +177,11 @@ var scope = {
|
||||
pop() {
|
||||
if (scopes.length === 1) return;
|
||||
return scopes.pop();
|
||||
},
|
||||
isolate(fn) {
|
||||
this.push({ prevent: true });
|
||||
fn();
|
||||
this.pop();
|
||||
}
|
||||
};
|
||||
function append(...els) {
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+5
@@ -154,6 +154,11 @@ var scope = {
|
||||
pop() {
|
||||
if (scopes.length === 1) return;
|
||||
return scopes.pop();
|
||||
},
|
||||
isolate(fn) {
|
||||
this.push({ prevent: true });
|
||||
fn();
|
||||
this.pop();
|
||||
}
|
||||
};
|
||||
function append(...els) {
|
||||
|
||||
Vendored
+4
-4
File diff suppressed because one or more lines are too long
Vendored
+3
-1
@@ -232,11 +232,13 @@ export const scope: {
|
||||
|
||||
state: Scope[],
|
||||
/** Adds new child scope. All attributes are inherited by default. */
|
||||
push(scope: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
push(scope?: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
/** Adds root scope as a child of the current scope. */
|
||||
pushRoot(): ReturnType<Array<Scope>["push"]>,
|
||||
/** Removes last/current child scope. */
|
||||
pop(): ReturnType<Array<Scope>["pop"]>,
|
||||
/** Runs function in a new (isolated) scope */
|
||||
isolate(fn: Function): void,
|
||||
};
|
||||
|
||||
export function customElementRender<
|
||||
|
||||
Vendored
+3
-1
@@ -232,11 +232,13 @@ export const scope: {
|
||||
|
||||
state: Scope[],
|
||||
/** Adds new child scope. All attributes are inherited by default. */
|
||||
push(scope: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
push(scope?: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
/** Adds root scope as a child of the current scope. */
|
||||
pushRoot(): ReturnType<Array<Scope>["push"]>,
|
||||
/** Removes last/current child scope. */
|
||||
pop(): ReturnType<Array<Scope>["pop"]>,
|
||||
/** Runs function in a new (isolated) scope */
|
||||
isolate(fn: Function): void,
|
||||
};
|
||||
|
||||
export function customElementRender<
|
||||
|
||||
Vendored
+5
@@ -175,6 +175,11 @@ var scope = {
|
||||
pop() {
|
||||
if (scopes.length === 1) return;
|
||||
return scopes.pop();
|
||||
},
|
||||
isolate(fn) {
|
||||
this.push({ prevent: true });
|
||||
fn();
|
||||
this.pop();
|
||||
}
|
||||
};
|
||||
function append(...els) {
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+3
-1
@@ -232,11 +232,13 @@ export const scope: {
|
||||
|
||||
state: Scope[],
|
||||
/** Adds new child scope. All attributes are inherited by default. */
|
||||
push(scope: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
push(scope?: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
/** Adds root scope as a child of the current scope. */
|
||||
pushRoot(): ReturnType<Array<Scope>["push"]>,
|
||||
/** Removes last/current child scope. */
|
||||
pop(): ReturnType<Array<Scope>["pop"]>,
|
||||
/** Runs function in a new (isolated) scope */
|
||||
isolate(fn: Function): void,
|
||||
};
|
||||
|
||||
export function customElementRender<
|
||||
|
||||
Vendored
+3
-1
@@ -232,11 +232,13 @@ export const scope: {
|
||||
|
||||
state: Scope[],
|
||||
/** Adds new child scope. All attributes are inherited by default. */
|
||||
push(scope: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
push(scope?: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
|
||||
/** Adds root scope as a child of the current scope. */
|
||||
pushRoot(): ReturnType<Array<Scope>["push"]>,
|
||||
/** Removes last/current child scope. */
|
||||
pop(): ReturnType<Array<Scope>["pop"]>,
|
||||
/** Runs function in a new (isolated) scope */
|
||||
isolate(fn: Function): void,
|
||||
};
|
||||
|
||||
export function customElementRender<
|
||||
|
||||
Vendored
+5
@@ -152,6 +152,11 @@ var scope = {
|
||||
pop() {
|
||||
if (scopes.length === 1) return;
|
||||
return scopes.pop();
|
||||
},
|
||||
isolate(fn) {
|
||||
this.push({ prevent: true });
|
||||
fn();
|
||||
this.pop();
|
||||
}
|
||||
};
|
||||
function append(...els) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user