aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.slider.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-02 19:12:21 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-02 19:12:21 -0400
commit639afa595465f6a1f61e080f2b671af4aac69b4a (patch)
treecab8f18e790d7646677ca0207d21025c9c708428 /ui/jquery.ui.slider.js
parent3e6877a892b8fb70f1130f639dfde09ce5af6236 (diff)
downloadjquery-ui-639afa595465f6a1f61e080f2b671af4aac69b4a.tar.gz
jquery-ui-639afa595465f6a1f61e080f2b671af4aac69b4a.zip
Lint fixes.
Diffstat (limited to 'ui/jquery.ui.slider.js')
-rw-r--r--ui/jquery.ui.slider.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js
index a8bdb1948..b355f8c7e 100644
--- a/ui/jquery.ui.slider.js
+++ b/ui/jquery.ui.slider.js
@@ -35,7 +35,8 @@ $.widget( "ui.slider", $.ui.mouse, {
},
_create: function() {
- var self = this,
+ var i,
+ self = this,
o = this.options,
existingHandles = this.element.find( ".ui-slider-handle" ).addClass( "ui-state-default ui-corner-all" ),
handle = "<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",
@@ -78,7 +79,7 @@ $.widget( "ui.slider", $.ui.mouse, {
( ( o.range === "min" || o.range === "max" ) ? " ui-slider-range-" + o.range : "" ) );
}
- for ( var i = existingHandles.length; i < handleCount; i += 1 ) {
+ for ( i = existingHandles.length; i < handleCount; i++ ) {
handles.push( handle );
}