mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 13:59:54 +00:00
15 lines
336 B
JavaScript
15 lines
336 B
JavaScript
module.exports = async function () {
|
|
global.ResizeObserver = class ResizeObserver {
|
|
observe() {}
|
|
unobserve() {}
|
|
disconnect() {}
|
|
};
|
|
|
|
const { nop } = require("./utils/nopProxy");
|
|
global.enableWebGLCanvas = nop;
|
|
|
|
HTMLCanvasElement.prototype.getContext = nop;
|
|
|
|
localStorage["Comfy.Settings.Comfy.Logging.Enabled"] = "false";
|
|
};
|