diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-08-06 17:08:50 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-08-06 17:08:50 -0400 |
commit | b10c4cdab5faf88c8f64c1343f487cb5af8ea4db (patch) | |
tree | ea0c9dae879352c532375a378d92665bd8897746 | |
parent | 160a301d96c09403b87ef8365b201617344e425d (diff) | |
download | jquery-ui-b10c4cdab5faf88c8f64c1343f487cb5af8ea4db.tar.gz jquery-ui-b10c4cdab5faf88c8f64c1343f487cb5af8ea4db.zip |
Spinner: Define defaults for callbacks.
-rw-r--r-- | tests/unit/spinner/spinner_defaults.js | 6 | ||||
-rw-r--r-- | ui/jquery.ui.spinner.js | 7 |
2 files changed, 11 insertions, 2 deletions
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() { |