]> source.dussan.org Git - nextcloud-server.git/commitdiff
Replace console.time/timeEnd
authorThomas Tanghus <thomas@tanghus.net>
Mon, 17 Mar 2014 18:39:19 +0000 (19:39 +0100)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 17 Mar 2014 18:39:19 +0000 (19:39 +0100)
core/js/js.js

index 841f3a769f12b6a471e9c3591de6aed2c903f278..3d3185f12c14ce2d4545dd0a9c0da3b9a6a54e51 100644 (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 () { };
        }