mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 21:21:03 +00:00
Update app.js
This commit is contained in:
parent
fab664d524
commit
784fba3f9c
5
app.js
5
app.js
|
@ -32,7 +32,6 @@
|
|||
// The appname argument causes <appname>.js to be loaded. The interface returned
|
||||
// must define main = function(args) {}, which is called once the module is
|
||||
// loaded.
|
||||
|
||||
var exit = function(status) {
|
||||
if (typeof(WScript) !== "undefined") {
|
||||
WScript.quit(status);
|
||||
|
@ -72,7 +71,7 @@ var console = {
|
|||
if (typeof(CreateObject) !== "function") {
|
||||
var CreateObject = function(className) {
|
||||
return new ActiveXObject(className);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
if (typeof(GetObject) !== "function") {
|
||||
|
@ -86,7 +85,7 @@ if(typeof(GetObject) !== "function") {
|
|||
} else {
|
||||
console.log("Not supported: " + pathName);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function require(FN) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user