Showing
16 changed files
with
1 additions
and
1 deletions
File moved
1.32 MB
File moved
| ... | @@ -2,7 +2,7 @@ import GIF from "gifencoder"; | ... | @@ -2,7 +2,7 @@ import GIF from "gifencoder"; |
| 2 | import { fabric } from "fabric"; | 2 | import { fabric } from "fabric"; |
| 3 | import Component from "./components"; | 3 | import Component from "./components"; |
| 4 | 4 | ||
| 5 | -class GifGenerator { | 5 | +export class GifGenerator { |
| 6 | constructor(canvas) { | 6 | constructor(canvas) { |
| 7 | this.canvas = canvas; | 7 | this.canvas = canvas; |
| 8 | this.width = canvas.getWidth(); | 8 | this.width = canvas.getWidth(); | ... | ... |
-
Please register or login to post a comment