From 8821a4749fa9c6709b39479071fd4a15f9c1aa1e Mon Sep 17 00:00:00 2001 From: Kip DeCastro Date: Tue, 27 Jul 2021 23:34:52 -0400 Subject: [PATCH] Cleaned up some unnecessary spaces --- src/main/windows.js | 5 ----- src/renderer/input.js | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/main/windows.js b/src/main/windows.js index 44b586e..b73dce8 100644 --- a/src/main/windows.js +++ b/src/main/windows.js @@ -6,9 +6,6 @@ const { getIsDevMode } = require("./devmode"); const windowList = {}; let mainWindow; - - - function getMainWindow() { return mainWindow; } @@ -76,7 +73,6 @@ function createWindow() { }, }); - // and load the index.html of the app. mainWindow.loadFile(path.join(__dirname, "../renderer/index.html")); @@ -86,7 +82,6 @@ function createWindow() { // Ensure we create child windows with the correct settings mainWindow.webContents.on("new-window", handleNewWindow); - if (getIsDevMode()) { mainWindow.webContents.toggleDevTools(); } diff --git a/src/renderer/input.js b/src/renderer/input.js index 7e1a623..48bac1c 100644 --- a/src/renderer/input.js +++ b/src/renderer/input.js @@ -98,8 +98,6 @@ window.addEventListener("keyup", function (event) { inputQueue.push({ type: "keyup", keyCode: event.keyCode }); }); - - module.exports = { INPUT_BUFFER_SIZE, inputBuffer,