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,