From 2158b8d86d4f77af0f82420aa7e072372b069797 Mon Sep 17 00:00:00 2001 From: Caleb Evans Date: Fri, 31 May 2024 14:01:02 -0700 Subject: [PATCH] Revert "Export jCanvas singleton object from core module" This reverts commit bd5772eeddb77d02fa1687bbb81026b8c8bc60ae. --- src/jcanvas.d.ts | 5 +---- src/jcanvas.ts | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/jcanvas.d.ts b/src/jcanvas.d.ts index 23190da..a6659be 100644 --- a/src/jcanvas.d.ts +++ b/src/jcanvas.d.ts @@ -4,10 +4,7 @@ * Released under the MIT license */ -declare module "jcanvas" { - let jCanvas: JCanvas; - export = jCanvas; -} +declare module "jcanvas"; declare module "jcanvas/dist/umd/jcanvas.min.js"; declare module "jcanvas/dist/umd/jcanvas-crescents.min.js"; declare module "jcanvas/dist/umd/jcanvas-donuts.min.js"; diff --git a/src/jcanvas.ts b/src/jcanvas.ts index cf8c68e..5e4054e 100644 --- a/src/jcanvas.ts +++ b/src/jcanvas.ts @@ -4612,5 +4612,3 @@ extendObject(jCanvas, { }); $.jCanvas = jCanvas; $.jCanvasObject = jCanvasObject; - -export default jCanvas;