Slider: Remove core event/alias and deprecated module dependencies

This commit is contained in:
Alexander Schmitz 2015-05-13 22:01:09 -04:00
parent cdbce0c724
commit dcd3cd516c
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
select[ 0 ].selectedIndex = ui.value - 1; select[ 0 ].selectedIndex = ui.value - 1;
} }
}); });
$( "#minbeds" ).change(function() { $( "#minbeds" ).on( "change", function() {
slider.slider( "value", this.selectedIndex + 1 ); slider.slider( "value", this.selectedIndex + 1 );
}); });
}); });

View File

@ -16,7 +16,7 @@ test( "disabled", function( assert ){
var count = 0; var count = 0;
element = $( "#slider1" ).slider(); element = $( "#slider1" ).slider();
element.bind( "slidestart", function() { element.on( "slidestart", function() {
count++; count++;
}); });

View File

@ -214,7 +214,7 @@ return $.widget( "ui.slider", $.ui.mouse, {
this._handleIndex = index; this._handleIndex = index;
this._addClass( closestHandle, null, "ui-state-active" ); this._addClass( closestHandle, null, "ui-state-active" );
closestHandle.focus(); closestHandle.trigger( "focus" );
offset = closestHandle.offset(); offset = closestHandle.offset();
mouseOverHandle = !$( event.target ).parents().addBack().is( ".ui-slider-handle" ); mouseOverHandle = !$( event.target ).parents().addBack().is( ".ui-slider-handle" );