MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / getFunctionalFallthrough

Function getFunctionalFallthrough

web/main.js:4135–4143  ·  view source on GitHub ↗
(attrs)

Source from the content-addressed store, hash-verified

4133 return result;
4134}
4135const getFunctionalFallthrough = (attrs) => {
4136 let res;
4137 for (const key in attrs) {
4138 if (key === "class" || key === "style" || isOn(key)) {
4139 (res || (res = {}))[key] = attrs[key];
4140 }
4141 }
4142 return res;
4143};
4144const filterModelListeners = (attrs, props) => {
4145 const res = {};
4146 for (const key in attrs) {

Callers 1

renderComponentRootFunction · 0.85

Calls 1

isOnFunction · 0.85

Tested by

no test coverage detected