Skip to content

Commit

Permalink
Merge pull request RocketChat#44 from jonatasfreitasv/master
Browse files Browse the repository at this point in the history
Added missing semicolon
  • Loading branch information
szwacz committed Sep 23, 2015
2 parents afcb113 + a2e3c01 commit d15b14a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/vendor/electron_boilerplate/context_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
click: function () {
document.execCommand("copy");
}
})
});

var paste = new MenuItem({
label: "Paste",
Expand Down
12 changes: 6 additions & 6 deletions app/vendor/electron_boilerplate/window_state.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
};
};

0 comments on commit d15b14a

Please sign in to comment.