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
2cccde3650
commit
7b1353998e
6
app.js
6
app.js
|
@ -97,7 +97,7 @@ var console = {
|
|||
timeLog: function(label, end) {
|
||||
label = label || "default";
|
||||
if (label in this._timers) {
|
||||
console.debug(label + ": " + ((new Date()).getTime() - this._timers[label].getTime()) + "ms" + (end ? " - timer ended" : ""));
|
||||
console.debug(label + ": ", ((new Date()).getTime() - this._timers[label].getTime()) + "ms", (end ? " - timer ended" : ""));
|
||||
}
|
||||
},
|
||||
timeEnd: function(label) {
|
||||
|
@ -181,7 +181,7 @@ function require(FN) {
|
|||
try {
|
||||
cache[FN] = eval(T);
|
||||
} catch (e) {
|
||||
console.error("PARSE ERROR!", e.number, ",", e.description, ", FN=", FN);
|
||||
console.error("PARSE ERROR!", e.number + ",", e.description + ",", "FN=" + FN);
|
||||
}
|
||||
|
||||
// print VERSIONINFO
|
||||
|
@ -224,7 +224,7 @@ require.__load__ = function(FN) {
|
|||
T = objStream.readText();
|
||||
objStream.close();
|
||||
} catch (e) {
|
||||
console.error("LOAD ERROR! ", e.number, ", ", e.description, ", FN=", FN);
|
||||
console.error("LOAD ERROR!", e.number + ",", e.description + ",", "FN=" + FN);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user