From 9a800fa600822f134204a7a4a850c14284abcda9 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Tue, 31 Jul 2012 17:05:36 -0700 Subject: [PATCH] removed more obsolete timeline code --- js/inject/debug.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/inject/debug.js b/js/inject/debug.js index 065c07b..bc98dc4 100644 --- a/js/inject/debug.js +++ b/js/inject/debug.js @@ -225,21 +225,11 @@ var inject = function () { // patch apply // ----------- - var firstLog = 0; var apply = $delegate.__proto__.$apply; $delegate.__proto__.$apply = function (fn) { var start = window.performance.webkitNow(); var ret = apply.apply(this, arguments); var end = window.performance.webkitNow(); - if (Math.round(end - start) === 0) { - if (debug.timeline.length === 0) { - firstLog = start; - } - debug.timeline.push({ - start: Math.round(start - firstLog), - end: Math.round(end - firstLog) - }); - } // If the debugging option is enabled, log to console // --------------------------------------------------