From 2e634794d99b8e1293e6bc8a2d4ba7d14e2dcc09 Mon Sep 17 00:00:00 2001 From: focomoso Date: Fri, 6 Feb 2015 22:26:48 -0800 Subject: [PATCH] moved divRange declaration up to module --- d3.slider.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/d3.slider.js b/d3.slider.js index bb0ab04..94a9d7a 100755 --- a/d3.slider.js +++ b/d3.slider.js @@ -45,6 +45,7 @@ return function module() { tickFormat = d3.format(".0"), handle1, handle2 = null, + divRange, sliderLength; function slider(selection) { @@ -68,7 +69,7 @@ return function module() { // Slider handle //if range slider, create two - var divRange; + // var divRange; if ( value.length == 2 ) { handle1 = div.append("a")