Replace console.time/timeEnd

This commit is contained in:
Thomas Tanghus 2014-03-17 19:39:19 +01:00
parent 6fbf3dd7c4
commit 413afab424
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if (oc_debug !== true || typeof console === "undefined" || typeof console.log ==
if (!window.console) {
window.console = {};
}
var methods = ['log', 'debug', 'warn', 'info', 'error', 'assert'];
var methods = ['log', 'debug', 'warn', 'info', 'error', 'assert', 'time', 'timeEnd'];
for (var i = 0; i < methods.length; i++) {
console[methods[i]] = function () { };
}