Merge branch 'worktree-api-urls' into macros
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
// =========================================================================
|
// =========================================================================
|
||||||
|
|
||||||
var NIL = Object.freeze({ _nil: true, toString: function() { return "nil"; } });
|
var NIL = Object.freeze({ _nil: true, toString: function() { return "nil"; } });
|
||||||
var SX_VERSION = "2026-03-13T03:23:01Z";
|
var SX_VERSION = "2026-03-13T03:34:17Z";
|
||||||
|
|
||||||
function isNil(x) { return x === NIL || x === null || x === undefined; }
|
function isNil(x) { return x === NIL || x === null || x === undefined; }
|
||||||
function isSxTruthy(x) { return x !== false && !isNil(x); }
|
function isSxTruthy(x) { return x !== false && !isNil(x); }
|
||||||
@@ -4369,7 +4369,7 @@ return (isSxTruthy((_batchDepth == 0)) ? (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function domAppend(parent, child) {
|
function domAppend(parent, child) {
|
||||||
if (parent && child) parent.appendChild(child);
|
if (parent && child && !child._spread) parent.appendChild(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
function domPrepend(parent, child) {
|
function domPrepend(parent, child) {
|
||||||
@@ -4441,7 +4441,7 @@ return (isSxTruthy((_batchDepth == 0)) ? (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function domInsertAfter(ref, node) {
|
function domInsertAfter(ref, node) {
|
||||||
if (ref && ref.parentNode && node) {
|
if (ref && ref.parentNode && node && !node._spread) {
|
||||||
ref.parentNode.insertBefore(node, ref.nextSibling);
|
ref.parentNode.insertBefore(node, ref.nextSibling);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1620,7 +1620,7 @@ PLATFORM_DOM_JS = """
|
|||||||
}
|
}
|
||||||
|
|
||||||
function domAppend(parent, child) {
|
function domAppend(parent, child) {
|
||||||
if (parent && child) parent.appendChild(child);
|
if (parent && child && !child._spread) parent.appendChild(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
function domPrepend(parent, child) {
|
function domPrepend(parent, child) {
|
||||||
@@ -1692,7 +1692,7 @@ PLATFORM_DOM_JS = """
|
|||||||
}
|
}
|
||||||
|
|
||||||
function domInsertAfter(ref, node) {
|
function domInsertAfter(ref, node) {
|
||||||
if (ref && ref.parentNode && node) {
|
if (ref && ref.parentNode && node && !node._spread) {
|
||||||
ref.parentNode.insertBefore(node, ref.nextSibling);
|
ref.parentNode.insertBefore(node, ref.nextSibling);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user