Rename node to JSONDynamicLoader to avoid collision with JSON Manager

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 19:36:28 +01:00
parent 79157f4289
commit c909f854f4
2 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ app.registerExtension({
name: "json.dynamic.loader",
async beforeRegisterNodeDef(nodeType, nodeData, app) {
if (nodeData.name !== "JSONLoaderDynamic") return;
if (nodeData.name !== "JSONDynamicLoader") return;
const origOnNodeCreated = nodeType.prototype.onNodeCreated;
nodeType.prototype.onNodeCreated = function () {
@@ -96,7 +96,7 @@ app.registerExtension({
this.setSize(this.computeSize());
app.graph.setDirtyCanvas(true, true);
} catch (e) {
console.error("[JSONLoaderDynamic] Refresh failed:", e);
console.error("[JSONDynamicLoader] Refresh failed:", e);
}
};