From c0cd1e6df38597d04d94c1e8194f662a8ec8321f Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Wed, 25 Sep 2019 16:36:25 -0400 Subject: [PATCH] remove unused fields & unneeded vendor prefixes --- main.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/main.js b/main.js index 53662ad..d01a4c5 100644 --- a/main.js +++ b/main.js @@ -97,19 +97,6 @@ class SnesInput { class InputHandler { constructor() { - this.up = false; - this.down = false; - this.left = false; - this.right = false; - this.a = false; - this.b = false; - this.x = false; - this.y = false; - this.l = false; - this.r = false; - this.select = false; - this.start = false; - this.keysPressed = {}; window.addEventListener('gamepadconnected', this.gamepadConnected); @@ -183,9 +170,6 @@ class Graphics { this.canvas_ = canvas; this.ctx_ = canvas.getContext('2d'); this.ctx_.imageSmoothingEnabled = false; - this.ctx_.mozImageSmoothingEnabled = false; - this.ctx_.webkitImageSmoothingEnabled = false; - this.ctx_.msImageSmoothingEnabled = false; } get width() {