File size: 305 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
/**
* Module variables
*/
let state = false;
function State() {
this.loggedIn = false;
}
State.prototype.setLogPath = function ( path ) {
this.logPath = path;
};
State.prototype.getLogPath = function () {
return this.logPath;
};
if ( ! state ) {
state = new State();
}
module.exports = state;
|