mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-03 12:10:11 +00:00
Integration and Fixes
- few new nodes - onAction, onExecute, onTrigger has the third parameters for additional options - onAction has to refresh the getInputData values for future behaviours - prefer 0 or "*" for slot type instead of empty string ""
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
return String(a);
|
||||
}
|
||||
|
||||
LiteGraph.wrapFunctionAsNode("string/toString", toString, [""], "String");
|
||||
LiteGraph.wrapFunctionAsNode("string/toString", toString, [""], "string");
|
||||
|
||||
function compare(a, b) {
|
||||
return a == b;
|
||||
@@ -85,8 +85,10 @@
|
||||
else if( str.constructor === Array )
|
||||
{
|
||||
var r = [];
|
||||
for(var i = 0; i < str.length; ++i)
|
||||
r[i] = str[i].split(separator || " ");
|
||||
for(var i = 0; i < str.length; ++i){
|
||||
if (typeof str[i] == "string")
|
||||
r[i] = str[i].split(separator || " ");
|
||||
}
|
||||
return r;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user