summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-03-17 19:39:19 +0100
committerThomas Tanghus <thomas@tanghus.net>2014-03-17 19:39:19 +0100
commit413afab4240dedcb271def0d30480f4f5d6522ef (patch)
tree24118e4e31440de1ff7000e4cfa622c8c670f1aa /core
parent6fbf3dd7c4e64a68d2b8a0a2c24a1b92de7868b1 (diff)
downloadnextcloud-server-413afab4240dedcb271def0d30480f4f5d6522ef.tar.gz
nextcloud-server-413afab4240dedcb271def0d30480f4f5d6522ef.zip
Replace console.time/timeEnd
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 841f3a769f1..3d3185f12c1 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 () { };
}