diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-04-25 14:04:30 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-04-25 14:04:30 -0400 |
commit | 325ee6e87133dd2a507c820dd3c356e3b897a3ec (patch) | |
tree | c13ef9ce107caf181f300cb0ab2a6d5214aada87 /tests/unit/spinner/spinner_defaults.js | |
parent | c4c36e557ef2b3450bc365708064f7314bc6fdc4 (diff) | |
download | jquery-ui-325ee6e87133dd2a507c820dd3c356e3b897a3ec.tar.gz jquery-ui-325ee6e87133dd2a507c820dd3c356e3b897a3ec.zip |
Widget: define a null default for the create callback.
Diffstat (limited to 'tests/unit/spinner/spinner_defaults.js')
-rw-r--r-- | tests/unit/spinner/spinner_defaults.js | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/tests/unit/spinner/spinner_defaults.js b/tests/unit/spinner/spinner_defaults.js index 0389ab169..f6081b1f3 100644 --- a/tests/unit/spinner/spinner_defaults.js +++ b/tests/unit/spinner/spinner_defaults.js @@ -1,16 +1,15 @@ -/*
- * spinner_defaults.js
- */
+commonWidgetTests( "spinner", {
+ defaults: {
+ disabled: false,
+ incremental: true,
+ max: null,
+ min: null,
+ numberformat: null,
+ page: 10,
+ step: null,
+ value: null,
-var spinner_defaults = {
- disabled: false,
- incremental: true,
- max: null,
- min: null,
- numberformat: null,
- page: 10,
- step: null,
- value: null
-};
-
-commonWidgetTests('spinner', { defaults: spinner_defaults });
+ // callbacks
+ create: null
+ }
+});
|