Permalink
Browse files

remove val shim and use this._value directly

  • Loading branch information...
johnbender committed Aug 2, 2012
1 parent 2c1f44c commit b59ba1c734684a91662af5a6908c3d46cc451319
Showing with 0 additions and 3 deletions.
  1. +0 −3 js/widgets/forms/slider.js
@@ -45,8 +45,6 @@ $.widget( "mobile.slider", $.mobile.widget, {
label = $label.attr( "id", labelID ),
- val = $.proxy( this._value, this ),
-
min = cType === "input" ? parseFloat( control.attr( "min" ) ) : 0,
max = cType === "input" ? parseFloat( control.attr( "max" ) ) : control.find( "option" ).length-1,
@@ -57,7 +55,6 @@ $.widget( "mobile.slider", $.mobile.widget, {
miniClass = ( this.options.mini || control.jqmData( "mini" ) ) ? " ui-slider-mini" : "",
-
domHandle = document.createElement( 'a' ),
handle = $( domHandle ),
domSlider = document.createElement( 'div' ),

0 comments on commit b59ba1c

Please sign in to comment.