From 413afab4240dedcb271def0d30480f4f5d6522ef Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 17 Mar 2014 19:39:19 +0100 Subject: [PATCH] Replace console.time/timeEnd --- core/js/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/js.js b/core/js/js.js index 841f3a769f..3d3185f12c 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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 () { }; }