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/tooltip/tooltip_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/tooltip/tooltip_defaults.js')
-rw-r--r-- | tests/unit/tooltip/tooltip_defaults.js | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/tests/unit/tooltip/tooltip_defaults.js b/tests/unit/tooltip/tooltip_defaults.js index 419d7a085..c1fc49f1a 100644 --- a/tests/unit/tooltip/tooltip_defaults.js +++ b/tests/unit/tooltip/tooltip_defaults.js @@ -1,16 +1,15 @@ -/* - * tooltip_defaults.js - */ +commonWidgetTests( "tooltip", { + defaults: { + disabled: false, + items: "[title]", + content: $.ui.tooltip.prototype.options.content, + position: { + my: "left center", + at: "right center", + offset: "15 0" + }, -var tooltip_defaults = { - disabled: false, - items: "[title]", - content: $.ui.tooltip.prototype.options.content, - position: { - my: "left center", - at: "right center", - offset: "15 0" + // callbacks + create: null } -}; - -commonWidgetTests('tooltip', { defaults: tooltip_defaults }); +}); |