mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update app.js
This commit is contained in:
parent
6ee94fb57a
commit
dfb661bdf9
6
app.js
6
app.js
|
@ -34,13 +34,13 @@
|
|||
// loaded.
|
||||
|
||||
var exit = function(status) {
|
||||
console.warn("Exit caused by status " + status);
|
||||
console.warn("Exit caused by status " + status);
|
||||
|
||||
if (typeof(WScript) !== "undefined") {
|
||||
WScript.quit(status);
|
||||
} else if (typeof(window) !== "undefined") {
|
||||
window.close();
|
||||
}
|
||||
window.close();
|
||||
}
|
||||
};
|
||||
|
||||
var console = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user