You can might be getting “TypeEror: closestHandle is undefined” or “TypeError: s is undefined” if you are using a slider with negative numbers.
I’m able to reproduce is here:
broken: http://jsbin.com/epowu3/3/edit
but the solution is easy. Min and max are numbers, not strings, and “-100″+10 == “-10010”
so change “100” to 100 and “-100” to -100, and all works well as seen here:
works: http://jsbin.com/epowu3/4/edit
have fun.
Cameron