Skip to content

Commit

Permalink
Revert "Export jCanvas singleton object from core module"
Browse files Browse the repository at this point in the history
This reverts commit bd5772e.
  • Loading branch information
caleb531 committed May 31, 2024
1 parent bd5772e commit 2158b8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions src/jcanvas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 0 additions & 2 deletions src/jcanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4612,5 +4612,3 @@ extendObject(jCanvas, {
});
$.jCanvas = jCanvas;
$.jCanvasObject = jCanvasObject;

export default jCanvas;

0 comments on commit 2158b8d

Please sign in to comment.