mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 01:17:00 +08:00
use spaces instead of tab in the last indentation to stay consistent with the inconsistent code style for switch/case
This commit is contained in:
parent
4432eb2b07
commit
89203aefef
@ -142,9 +142,9 @@ class ComfyApi extends EventTarget {
|
|||||||
case "execution_cached":
|
case "execution_cached":
|
||||||
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
|
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
|
||||||
break;
|
break;
|
||||||
case "execution_interrupted":
|
case "execution_interrupted":
|
||||||
this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data }));
|
this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data }));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (this.#registered.has(msg.type)) {
|
if (this.#registered.has(msg.type)) {
|
||||||
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));
|
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user