이정민

gif-generator 폴더 이동

...@@ -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();
......