From 5ba740014d5aba7c130962563f8ba756fd4f1c36 Mon Sep 17 00:00:00 2001 From: Jonatas Freitas Date: Tue, 22 Sep 2015 21:55:29 -0300 Subject: [PATCH 1/2] Added missing semicolon --- app/vendor/electron_boilerplate/context_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vendor/electron_boilerplate/context_menu.js b/app/vendor/electron_boilerplate/context_menu.js index cfe052df54de..4966be7167df 100644 --- a/app/vendor/electron_boilerplate/context_menu.js +++ b/app/vendor/electron_boilerplate/context_menu.js @@ -20,7 +20,7 @@ click: function () { document.execCommand("copy"); } - }) + }); var paste = new MenuItem({ label: "Paste", From a2e3c01c6558905399bf742a376919389ff0d047 Mon Sep 17 00:00:00 2001 From: Jonatas Freitas Date: Tue, 22 Sep 2015 22:08:09 -0300 Subject: [PATCH 2/2] Added missing semicolon --- app/vendor/electron_boilerplate/window_state.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/vendor/electron_boilerplate/window_state.js b/app/vendor/electron_boilerplate/window_state.js index 5a8e1f7c39ac..67f359c52503 100644 --- a/app/vendor/electron_boilerplate/window_state.js +++ b/app/vendor/electron_boilerplate/window_state.js @@ -10,7 +10,7 @@ var jetpack = require('fs-jetpack'); module.exports = function (name, defaults) { var userDataDir = jetpack.cwd(app.getPath('userData')); - var stateStoreFile = 'window-state-' + name +'.json' + var stateStoreFile = 'window-state-' + name +'.json'; var state = userDataDir.read(stateStoreFile, 'json') || { width: defaults.width, @@ -31,11 +31,11 @@ module.exports = function (name, defaults) { }; return { - get x() { return state.x }, - get y() { return state.y }, - get width() { return state.width }, - get height() { return state.height }, - get isMaximized() { return state.isMaximized }, + get x() { return state.x; }, + get y() { return state.y; }, + get width() { return state.width; }, + get height() { return state.height; }, + get isMaximized() { return state.isMaximized; }, saveState: saveState }; };