Skip to content

Commit

Permalink
fix: import map
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Oct 1, 2022
1 parent 035325a commit 9a7523b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions canvas/mod.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Neko, World } from "../mod.ts";
import { createCanvas } from "canvas/mod.ts";
import { createCanvas } from "https://deno.land/x/canvas@v1.4.1/mod.ts";
import type {
CanvasRenderingContext2D,
EmulatedCanvas2D,
} from "canvas/mod.ts";
} from "https://deno.land/x/canvas@v1.4.1/mod.ts";
export interface Config {
title?: string;
width?: number;
Expand Down Expand Up @@ -56,10 +56,10 @@ export class Canvas {
export {
dataURLtoFile,
loadImage,
} from "canvas/mod.ts";
} from "https://deno.land/x/canvas@v1.4.1/mod.ts";
export type {
CanvasImageData,
CanvasImageSource,
ImageBitmap,
ImageData,
} from "canvas/src/types.ts";
} from "https://deno.land/x/canvas@v1.4.1/src/types.ts";

0 comments on commit 9a7523b

Please sign in to comment.