mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 13:11:03 +00:00
Update app.js
This commit is contained in:
parent
ee982c7bc4
commit
69a654680e
2
app.js
2
app.js
|
@ -97,7 +97,7 @@ var console = {
|
||||||
timeLog: function(label, end) {
|
timeLog: function(label, end) {
|
||||||
label = label || "default";
|
label = label || "default";
|
||||||
if (label in this._timers) {
|
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) {
|
timeEnd: function(label) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user