Skip to content

Commit

Permalink
Merge pull request #27 from focomoso/divRangeBug
Browse files Browse the repository at this point in the history
moved divRange declaration up to module
  • Loading branch information
turban committed Mar 3, 2015
2 parents 4d897be + 2e63479 commit d18dff4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion d3.slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ return function module() {
tickFormat = d3.format(".0"),
handle1,
handle2 = null,
divRange,
sliderLength;

function slider(selection) {
Expand All @@ -68,7 +69,7 @@ return function module() {

// Slider handle
//if range slider, create two
var divRange;
// var divRange;

if (toType(value) == "array" && value.length == 2) {
handle1 = div.append("a")
Expand Down

0 comments on commit d18dff4

Please sign in to comment.