aboutsummaryrefslogtreecommitdiffstats
path: root/tests/accordion.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-09 05:59:18 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-09 05:59:18 +0000
commit03528f2942ad52ab1bfca8810aa5ce0bfe3ba4c7 (patch)
treec2ae251d883b2b14cb81e439d3e306aa1c4e662e /tests/accordion.js
parentd2397d8d63a4e5325e0d6aff0ea8fc802da7468c (diff)
downloadjquery-ui-03528f2942ad52ab1bfca8810aa5ce0bfe3ba4c7.tar.gz
jquery-ui-03528f2942ad52ab1bfca8810aa5ce0bfe3ba4c7.zip
tests - wrapped in closures so all.html will work
Diffstat (limited to 'tests/accordion.js')
-rw-r--r--tests/accordion.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/accordion.js b/tests/accordion.js
index c0e3edfc5..1fbd1e20c 100644
--- a/tests/accordion.js
+++ b/tests/accordion.js
@@ -1,3 +1,8 @@
+/*
+ * accordion unit tests
+ */
+(function($) {
+
module("accordion");
jQuery.ui.accordion.defaults.animated = false;
@@ -75,4 +80,6 @@ test("activate, jQuery or DOM element", function() {
state(ac, 1, 0, 0);
ac.accordion("activate", $("#list1 a")[1]);
state(ac, 0, 1, 0);
-}); \ No newline at end of file
+});
+
+})(jQuery);