seiyria/bootstrap-slider — pull request #122 by eyko (2014-05-06 16:21:29+00:00)
Title: Avoid division by zero

In some cases where diff between max and min can be zero (e.g. when used with
mutable collections where items are deleted), the library will attempt a
division by zero, resulting in this.percentages to contain NaN or Infinity
values.

This adds a check, defaulting to [0, 0, 0].