mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 23:14:58 +00:00
Update app.js
This commit is contained in:
parent
1b4e885ea1
commit
f20817a12c
2
app.js
2
app.js
|
@ -58,7 +58,7 @@ var console = {
|
||||||
},
|
},
|
||||||
_echoCallback: null,
|
_echoCallback: null,
|
||||||
_echo: function(args, type) {
|
_echo: function(args, type) {
|
||||||
// if not type is "log", then "{type}: {msg}"
|
// if not type is "log", then "{type}: {msg}"
|
||||||
msg = (typeof(type) !== "undefined" ? type + ": " : "") + this._join(args);
|
msg = (typeof(type) !== "undefined" ? type + ": " : "") + this._join(args);
|
||||||
if (typeof(WScript) !== "undefined") {
|
if (typeof(WScript) !== "undefined") {
|
||||||
WScript.echo(" * " + msg);
|
WScript.echo(" * " + msg);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user