Skip to content

Commit

Permalink
remove unnecessary constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal committed Jan 9, 2025
1 parent ed66193 commit 2b01940
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/packages/looker/src/elements/imavid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ export class ImaVidElement extends BaseElement<ImaVidState, HTMLImageElement> {

imageSource: HTMLCanvasElement | HTMLImageElement;

constructor() {
super();
this.canvas = document.createElement("canvas");
this.ctx = this.canvas.getContext("2d");
}

getEvents(): Events<ImaVidState> {
return {
load: () => {
Expand Down

0 comments on commit 2b01940

Please sign in to comment.