One last attempt
This commit is contained in:
+12
-2
@@ -5,7 +5,7 @@ import { ComfyWidgets } from "../../../scripts/widgets.js";
|
||||
|
||||
(async () => {
|
||||
window.setTimeout(() => {
|
||||
app.graph.extra["0246_VERSION"] = "0.0.1"; // Only used when breaking changes happen
|
||||
app.graph.extra["0246_VERSION"] = [0, 0, 1]; // Only used when breaking changes happen
|
||||
}, 1500);
|
||||
|
||||
async function try_import(name) {
|
||||
@@ -16,6 +16,16 @@ import { ComfyWidgets } from "../../../scripts/widgets.js";
|
||||
}
|
||||
}
|
||||
|
||||
function compare_version(a, b) {
|
||||
for (let i = 0; i < a.length; ++ i) {
|
||||
if (a[i] > b[i])
|
||||
return 1;
|
||||
if (a[i] < b[i])
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
function rgthree_exec(name, ...args) {
|
||||
return rgthree_utils?.[name]?.(...args);
|
||||
}
|
||||
@@ -940,4 +950,4 @@ import { ComfyWidgets } from "../../../scripts/widgets.js";
|
||||
});
|
||||
|
||||
// var curr_node = LiteGraph.createNode(LiteGraph.getNodeTypesInCategory(LiteGraph.getNodeTypesCategories()[2])[2].type);
|
||||
})();
|
||||
})();
|
||||
Reference in New Issue
Block a user