PCjs CLI needs to provide console overrides for more Component functions
This commit is contained in:
parent
1dc0aeccd6
commit
24dae23c85
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ function loadComponents(asFiles)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sName == "component") {
|
if (sName == "component") {
|
||||||
fn.println = function(s, type) {
|
fn.log = fn.println = function(s, type) {
|
||||||
console.log((type !== undefined? (type + ": ") : "") + (s || ""));
|
console.log((type !== undefined? (type + ": ") : "") + (s || ""));
|
||||||
}; // jshint ignore:line
|
}; // jshint ignore:line
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue