diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-04-25 08:10:39 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-04-25 08:11:52 -0400 |
commit | c4c36e557ef2b3450bc365708064f7314bc6fdc4 (patch) | |
tree | 118b1f85496ec0118b31f2bcdbffbfd685ac5684 /tests/unit/autocomplete | |
parent | 6326da3fdb29ea4f40e39bc06abf14cde5ba5c8c (diff) | |
download | jquery-ui-c4c36e557ef2b3450bc365708064f7314bc6fdc4.tar.gz jquery-ui-c4c36e557ef2b3450bc365708064f7314bc6fdc4.zip |
Accordion, Autocomplete, Tabs: Separate callbacks and options in the defaults.
Diffstat (limited to 'tests/unit/autocomplete')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_defaults.js | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/tests/unit/autocomplete/autocomplete_defaults.js b/tests/unit/autocomplete/autocomplete_defaults.js index dd5007089..05897b848 100644 --- a/tests/unit/autocomplete/autocomplete_defaults.js +++ b/tests/unit/autocomplete/autocomplete_defaults.js @@ -1,19 +1,24 @@ -/* - * autocomplete_defaults.js - */ +commonWidgetTests( "autocomplete", { + defaults: { + appendTo: "body", + autoFocus: false, + delay: 300, + disabled: false, + minLength: 1, + position: { + my: "left top", + at: "left bottom", + collision: "none" + }, + source: null, -var autocomplete_defaults = { - appendTo: "body", - autoFocus: false, - delay: 300, - disabled: false, - minLength: 1, - position: { - my: "left top", - at: "left bottom", - collision: "none" - }, - source: null -}; - -commonWidgetTests('autocomplete', { defaults: autocomplete_defaults }); + // callbacks + change: null, + close: null, + focus: null, + open: null, + response: null, + search: null, + select: null + } +}); |