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/tabs | |
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/tabs')
-rw-r--r-- | tests/unit/tabs/tabs_defaults.js | 8 | ||||
-rw-r--r-- | tests/unit/tabs/tabs_defaults_deprecated.js | 22 |
2 files changed, 17 insertions, 13 deletions
diff --git a/tests/unit/tabs/tabs_defaults.js b/tests/unit/tabs/tabs_defaults.js index e15d618de..0750094e4 100644 --- a/tests/unit/tabs/tabs_defaults.js +++ b/tests/unit/tabs/tabs_defaults.js @@ -1,13 +1,15 @@ commonWidgetTests( "tabs", { defaults: { - activate: null, active: null, - beforeLoad: null, - beforeActivate: null, collapsible: false, disabled: false, event: "click", fx: null, + + // callbacks + activate: null, + beforeActivate: null, + beforeLoad: null, load: null } }); diff --git a/tests/unit/tabs/tabs_defaults_deprecated.js b/tests/unit/tabs/tabs_defaults_deprecated.js index 2d9772c6d..84f7de073 100644 --- a/tests/unit/tabs/tabs_defaults_deprecated.js +++ b/tests/unit/tabs/tabs_defaults_deprecated.js @@ -1,26 +1,28 @@ commonWidgetTests( "tabs", { defaults: { - activate: null, active: null, - add: null, ajaxOptions: null, - beforeLoad: null, - beforeActivate: null, cache: false, collapsible: false, cookie: null, - disable: null, disabled: false, - enable: null, event: "click", fx: null, idPrefix: "ui-tabs-", - load: null, panelTemplate: "<div></div>", + spinner: "<em>Loading…</em>", + tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>", + + // callbacks + activate: null, + add: null, + beforeActivate: null, + beforeLoad: null, + disable: null, + enable: null, + load: null, remove: null, select: null, - show: null, - spinner: "<em>Loading…</em>", - tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>" + show: null } }); |