diff --git a/tests/unit/slider/slider_common.js b/tests/unit/slider/slider_common.js index 48fd5e457..6d7278de6 100644 --- a/tests/unit/slider/slider_common.js +++ b/tests/unit/slider/slider_common.js @@ -14,6 +14,10 @@ TestHelpers.commonWidgetTests( "slider", { values: null, // callbacks - create: null + create: null, + change: null, + slide: null, + start: null, + stop: null } }); diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js index 712c6853d..46c8a83ae 100644 --- a/ui/jquery.ui.slider.js +++ b/ui/jquery.ui.slider.js @@ -32,7 +32,13 @@ $.widget( "ui.slider", $.ui.mouse, { range: false, step: 1, value: 0, - values: null + values: null, + + // callbacks + change: null, + slide: null, + start: null, + stop: null }, _create: function() {