aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-04-25 14:04:30 -0400
committerScott González <scott.gonzalez@gmail.com>2011-04-25 14:04:30 -0400
commit325ee6e87133dd2a507c820dd3c356e3b897a3ec (patch)
treec13ef9ce107caf181f300cb0ab2a6d5214aada87 /tests/unit/button
parentc4c36e557ef2b3450bc365708064f7314bc6fdc4 (diff)
downloadjquery-ui-325ee6e87133dd2a507c820dd3c356e3b897a3ec.tar.gz
jquery-ui-325ee6e87133dd2a507c820dd3c356e3b897a3ec.zip
Widget: define a null default for the create callback.
Diffstat (limited to 'tests/unit/button')
-rw-r--r--tests/unit/button/button_defaults.js25
1 files changed, 12 insertions, 13 deletions
diff --git a/tests/unit/button/button_defaults.js b/tests/unit/button/button_defaults.js
index b81fa7cbb..96c7e5bfa 100644
--- a/tests/unit/button/button_defaults.js
+++ b/tests/unit/button/button_defaults.js
@@ -1,15 +1,14 @@
-/*
- * button_defaults.js
- */
+commonWidgetTests( "button", {
+ defaults: {
+ disabled: null,
+ icons: {
+ primary: null,
+ secondary: null
+ },
+ label: null,
+ text: true,
-var button_defaults = {
- disabled: null,
- text: true,
- label: null,
- icons: {
- primary: null,
- secondary: null
+ // callbacks
+ create: null
}
-};
-
-commonWidgetTests('button', { defaults: button_defaults });
+});