From d08e11af324af320f440a29e61881e5e51d2e72b Mon Sep 17 00:00:00 2001 From: Ben Brichetti Date: Tue, 13 Jan 2015 11:14:51 -0500 Subject: [PATCH] No longer throw Error when MAX_REDRAWS count has been exceeded. Throwing this error was introduced recently, but appears to have been unintentionally committed (since the error message isn't helpful/relevant, and because the unexpected Error will unnecessarily disrupt the display of the timeline if not caught). --- lib/timeline/Core.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/timeline/Core.js b/lib/timeline/Core.js index 72427352..03b2b754 100644 --- a/lib/timeline/Core.js +++ b/lib/timeline/Core.js @@ -614,8 +614,7 @@ Core.prototype.redraw = function() { this.redraw(); } else { - console.log('WARNING: infinite loop in redraw?') - throw new Error("bla") + console.log('WARNING: infinite loop in redraw?'); } this.redrawCount = 0; }