Compare commits
2 Commits
d6d2c98a58
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 690278b592 | |||
| 3ee14819b7 |
@@ -255,11 +255,18 @@ function setupTextGateNode(node) {
|
|||||||
syncWidgetWidth(node);
|
syncWidgetWidth(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Build marker — lets you confirm the browser loaded THIS build (not a cached
|
||||||
|
// old copy). If the editor comes back empty after reload but you don't see this
|
||||||
|
// line in the devtools console, your tab is running stale JS: hard-refresh
|
||||||
|
// (Ctrl/Cmd+Shift+R).
|
||||||
|
const BUILD = "2026-07-03 persist+weight";
|
||||||
|
|
||||||
app.registerExtension({
|
app.registerExtension({
|
||||||
name: "datasete.gates.textgate",
|
name: "datasete.gates.textgate",
|
||||||
|
|
||||||
// one global socket listener: route the server's pause event to the node
|
// one global socket listener: route the server's pause event to the node
|
||||||
setup() {
|
setup() {
|
||||||
|
console.info(`[datasete.textgate] loaded build ${BUILD}`);
|
||||||
api.addEventListener("datasete-textgate-show", (e) => {
|
api.addEventListener("datasete-textgate-show", (e) => {
|
||||||
const d = e.detail || {};
|
const d = e.detail || {};
|
||||||
const node = app.graph?.getNodeById?.(parseInt(d.id, 10));
|
const node = app.graph?.getNodeById?.(parseInt(d.id, 10));
|
||||||
|
|||||||
Reference in New Issue
Block a user