mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-26 17:54:14 +00:00
Revert ESM change (#11)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
const global = {};
|
||||
|
||||
(function(global) {
|
||||
// *************************************************************
|
||||
@@ -14434,6 +14433,15 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
window.setTimeout(callback, 1000 / 60);
|
||||
};
|
||||
}
|
||||
})(global);
|
||||
})(this);
|
||||
|
||||
export const { LiteGraph, LGraph, LLink, LGraphNode, LGraphGroup, DragAndScale, LGraphCanvas, ContextMenu } = global;
|
||||
if (typeof exports != "undefined") {
|
||||
exports.LiteGraph = this.LiteGraph;
|
||||
exports.LGraph = this.LGraph;
|
||||
exports.LLink = this.LLink;
|
||||
exports.LGraphNode = this.LGraphNode;
|
||||
exports.LGraphGroup = this.LGraphGroup;
|
||||
exports.DragAndScale = this.DragAndScale;
|
||||
exports.LGraphCanvas = this.LGraphCanvas;
|
||||
exports.ContextMenu = this.ContextMenu;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user