From: Scott González Date: Sat, 6 Aug 2011 21:08:50 +0000 (-0400) Subject: Spinner: Define defaults for callbacks. X-Git-Tag: 1.9m6~62 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b10c4cdab5faf88c8f64c1343f487cb5af8ea4db;p=jquery-ui.git Spinner: Define defaults for callbacks. --- diff --git a/tests/unit/spinner/spinner_defaults.js b/tests/unit/spinner/spinner_defaults.js index c9a7d5f62..0bde94a58 100644 --- a/tests/unit/spinner/spinner_defaults.js +++ b/tests/unit/spinner/spinner_defaults.js @@ -10,6 +10,10 @@ commonWidgetTests( "spinner", { value: null, // callbacks - create: null + change: null, + create: null, + spin: null, + start: null, + stop: null } }); diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index b090c6122..a18cc3b3b 100644 --- a/ui/jquery.ui.spinner.js +++ b/ui/jquery.ui.spinner.js @@ -24,7 +24,12 @@ $.widget( "ui.spinner", { numberFormat: null, page: 10, step: null, - value: null + value: null, + + change: null, + spin: null, + start: null, + stop: null }, _create: function() {