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

Method constructor

web/main.js:255–275  ·  view source on GitHub ↗
(detached = false)

Source from the content-addressed store, hash-verified

253class EffectScope {
254 // TODO isolatedDeclarations "__v_skip"
255 constructor(detached = false) {
256 this.detached = detached;
257 this._active = true;
258 this._on = 0;
259 this.effects = [];
260 this.cleanups = [];
261 this._isPaused = false;
262 this._warnOnRun = true;
263 this.__v_skip = true;
264 if (!detached && activeEffectScope) {
265 if (activeEffectScope.active) {
266 this.parent = activeEffectScope;
267 this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
268 this
269 ) - 1;
270 } else {
271 this._active = false;
272 this._warnOnRun = false;
273 }
274 }
275 }
276 get active() {
277 return this._active;
278 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected