Refactor external source files to live in app/
This commit is contained in:
parent
db62494109
commit
ed831dacd0
6 changed files with 13 additions and 9 deletions
14
app/window_state.js
Normal file
14
app/window_state.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
let shouldQuitFlag = false;
|
||||
|
||||
function markShouldQuit() {
|
||||
shouldQuitFlag = true;
|
||||
}
|
||||
|
||||
function shouldQuit() {
|
||||
return shouldQuitFlag;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
shouldQuit,
|
||||
markShouldQuit
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue