Browse Source

Deprecated event `finishedRedraw` as it's redundant

flowchartTest
jos 9 years ago
parent
commit
c28e4b90be
3 changed files with 1 additions and 11 deletions
  1. +1
    -0
      HISTORY.md
  2. +0
    -9
      docs/timeline.html
  3. +0
    -2
      lib/timeline/Core.js

+ 1
- 0
HISTORY.md View File

@ -22,6 +22,7 @@ http://visjs.org
- Fixed invalid css names for time axis grid, renamed hours class names from - Fixed invalid css names for time axis grid, renamed hours class names from
`4-8h` to `h4-h8`. `4-8h` to `h4-h8`.
- Deprecated option `showCustomTime`. Use method `addCustomTime()` instead. - Deprecated option `showCustomTime`. Use method `addCustomTime()` instead.
- Deprecated event `finishedRedraw` as it's redundant.
### Network ### Network

+ 0
- 9
docs/timeline.html View File

@ -1138,15 +1138,6 @@ timeline.off('select', onSelect);
</td> </td>
</tr> </tr>
<tr>
<td>finishedRedraw</td>
<td>Fired after a redraw is complete. When moving the timeline around, this could be fired frequently.
</td>
<td>
none.
</td>
</tr>
<tr> <tr>
<td>rangechange</td> <td>rangechange</td>
<td>Fired repeatedly when the timeline window is being changed. <td>Fired repeatedly when the timeline window is being changed.

+ 0
- 2
lib/timeline/Core.js View File

@ -714,8 +714,6 @@ Core.prototype._redraw = function() {
} }
this.redrawCount = 0; this.redrawCount = 0;
} }
this.emit("finishedRedraw");
}; };
// TODO: deprecated since version 1.1.0, remove some day // TODO: deprecated since version 1.1.0, remove some day

Loading…
Cancel
Save