aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/slider/slider_options.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-03-03 13:48:01 +0100
committerFelix Nagel <info@felixnagel.com>2013-03-03 13:48:01 +0100
commitdffe8f66109714af2d4ed8f582af4cf3439433e3 (patch)
treed83889fc566946bd35e4f8dc866f2aac5e4b095a /tests/unit/slider/slider_options.js
parentd94e217065745e9ad0638cf68d3d973ffe44035a (diff)
parent6d3a1e1fe8cc21f385456ea26075f3909136a589 (diff)
downloadjquery-ui-dffe8f66109714af2d4ed8f582af4cf3439433e3.tar.gz
jquery-ui-dffe8f66109714af2d4ed8f582af4cf3439433e3.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'tests/unit/slider/slider_options.js')
-rw-r--r--tests/unit/slider/slider_options.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/slider/slider_options.js b/tests/unit/slider/slider_options.js
index dfa94696a..f46dbde99 100644
--- a/tests/unit/slider/slider_options.js
+++ b/tests/unit/slider/slider_options.js
@@ -16,7 +16,7 @@ test( "disabled", function(){
var count = 0;
element = $( "#slider1" ).slider();
- element.on( "slidestart", function() {
+ element.bind( "slidestart", function() {
count++;
});
@@ -180,13 +180,13 @@ test( "values", function() {
document.createElement( "div" ),
document.createElement( "div" )
]).slider({
- range: true,
+ range: true,
values: [ 25, 75 ]
});
notStrictEqual(
- ranges.eq( 0 ).data( "uiSlider" ).options.values,
- ranges.eq( 1 ).data( "uiSlider" ).options.values,
+ ranges.eq( 0 ).data( "ui-slider" ).options.values,
+ ranges.eq( 1 ).data( "ui-slider" ).options.values,
"multiple range sliders should not have a reference to the same options.values array"
);