]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner: Define defaults for callbacks.
authorScott González <scott.gonzalez@gmail.com>
Sat, 6 Aug 2011 21:08:50 +0000 (17:08 -0400)
committerScott González <scott.gonzalez@gmail.com>
Sat, 6 Aug 2011 21:08:50 +0000 (17:08 -0400)
tests/unit/spinner/spinner_defaults.js
ui/jquery.ui.spinner.js

index c9a7d5f626aecceeff8a217f503a3bac6dda7d5d..0bde94a586634a26553d4ae6aa7b7bddce0e8b55 100644 (file)
@@ -10,6 +10,10 @@ commonWidgetTests( "spinner", {
                value: null,\r
 \r
                // callbacks\r
-               create: null\r
+               change: null,\r
+               create: null,\r
+               spin: null,\r
+               start: null,\r
+               stop: null\r
        }\r
 });\r
index b090c61229c632a0153cf9c3d7d071d4b05e2a66..a18cc3b3b3ce0b7c8cea1cf2971d03fa6a28d787 100644 (file)
@@ -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() {