siliconflow / BizyAir

BizyAir: Comfy Nodes that can run in any environment.
https://siliconflow.github.io/BizyAir/
MIT License
290 stars 18 forks source link

[feat]optimize custom node BizyAir extensions JS module load #68

Closed Of-qinhai closed 2 months ago

Of-qinhai commented 2 months ago

1.Fix JS module reference issue in ComfyUI extension bizyair within the Onebrain platform codeserver. Onebrain platform 2.Optimize commonly used ComfyUI JS modules into _help.js for easier referencing & import .

  import { api,app,$el } from "./_help.js";

3.If new ComfyUI JS modules are utilized in the future and are missing in _help.js, they can be added accordingly.

// _help.js
  let app;
  let ComfyWidgets;
  let api;
  let $el;
doombeaker commented 2 months ago

可以补充一下示例说明吗。就是在改动前的版本,哪些情况会失效。

改变后,如何保证了原有失效情况,和现在可行的情况,都是 ok 的。

相当于简单说明下代码主要作用,麻烦了

Of-qinhai commented 2 months ago

先别合,我好像又发现了不得了的事