From c28e4b90be646402d3fac4a8b71214d822218217 Mon Sep 17 00:00:00 2001 From: jos Date: Mon, 4 May 2015 11:19:22 +0200 Subject: [PATCH] Deprecated event `finishedRedraw` as it's redundant --- HISTORY.md | 1 + docs/timeline.html | 9 --------- lib/timeline/Core.js | 2 -- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 86ed9a20..d872a134 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -22,6 +22,7 @@ http://visjs.org - Fixed invalid css names for time axis grid, renamed hours class names from `4-8h` to `h4-h8`. - Deprecated option `showCustomTime`. Use method `addCustomTime()` instead. +- Deprecated event `finishedRedraw` as it's redundant. ### Network diff --git a/docs/timeline.html b/docs/timeline.html index ddde9db9..bfe0daf0 100644 --- a/docs/timeline.html +++ b/docs/timeline.html @@ -1138,15 +1138,6 @@ timeline.off('select', onSelect); - - finishedRedraw - Fired after a redraw is complete. When moving the timeline around, this could be fired frequently. - - - none. - - - rangechange Fired repeatedly when the timeline window is being changed. diff --git a/lib/timeline/Core.js b/lib/timeline/Core.js index adc9aac5..30c0dd15 100644 --- a/lib/timeline/Core.js +++ b/lib/timeline/Core.js @@ -714,8 +714,6 @@ Core.prototype._redraw = function() { } this.redrawCount = 0; } - - this.emit("finishedRedraw"); }; // TODO: deprecated since version 1.1.0, remove some day