aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-04-25 08:10:39 -0400
committerScott González <scott.gonzalez@gmail.com>2011-04-25 08:11:52 -0400
commitc4c36e557ef2b3450bc365708064f7314bc6fdc4 (patch)
tree118b1f85496ec0118b31f2bcdbffbfd685ac5684 /tests/unit/tabs
parent6326da3fdb29ea4f40e39bc06abf14cde5ba5c8c (diff)
downloadjquery-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.js8
-rw-r--r--tests/unit/tabs/tabs_defaults_deprecated.js22
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&#8230;</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&#8230;</em>",
- tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>"
+ show: null
}
});