seiyria/bootstrap-slider — pull request #45 by j-lee (2013-11-20 19:50:43+00:00)
Title: Some minor fixes that causes errors in IE8 and IE9

Hi seiyria,

Here are some small changes I did to make the slider library at work in IE8 and IE9 (haven't tested IE10).

The first change is that the expression can cause properties like this.min to be set to a blank string. In IE8/9 when the blank string is later used in math calculations, it would result in NaN and causing issues like the slider handle to not position and work properly.

The second change is that the "new" object key is being interpreted as the JS keyword in IE8, causing an error when the library is loaded. So it's being written as a String literal. Please feel free to change the object key name instead if that solution suits you better.

Thanks!