aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/progressbar
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/progressbar
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/progressbar')
-rw-r--r--tests/unit/progressbar/progressbar_defaults.js19
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/unit/progressbar/progressbar_defaults.js b/tests/unit/progressbar/progressbar_defaults.js
index 925510871..3856e31a0 100644
--- a/tests/unit/progressbar/progressbar_defaults.js
+++ b/tests/unit/progressbar/progressbar_defaults.js
@@ -1,11 +1,10 @@
-/*
- * progressbar_defaults.js
- */
+commonWidgetTests( "progressbar", {
+ defaults: {
+ disabled: false,
+ value: 0,
+ max: 100,
-var progressbar_defaults = {
- disabled: false,
- value: 0,
- max: 100
-};
-
-commonWidgetTests('progressbar', { defaults: progressbar_defaults });
+ //callbacks
+ create: null
+ }
+});