Refactor external source files to live in app/

This commit is contained in:
David Balatero 2017-06-21 17:31:20 -07:00 committed by Scott Nonnenberg
parent db62494109
commit ed831dacd0
No known key found for this signature in database
GPG key ID: A4931C09644C654B
6 changed files with 13 additions and 9 deletions

14
app/window_state.js Normal file
View file

@ -0,0 +1,14 @@
let shouldQuitFlag = false;
function markShouldQuit() {
shouldQuitFlag = true;
}
function shouldQuit() {
return shouldQuitFlag;
}
module.exports = {
shouldQuit,
markShouldQuit
};