imported the whole jquery-ui package, refreshed with 1.10.2
[unfold.git] / third-party / jquery-ui-1.10.2 / tests / unit / accordion / accordion_common.js
diff --git a/third-party/jquery-ui-1.10.2/tests/unit/accordion/accordion_common.js b/third-party/jquery-ui-1.10.2/tests/unit/accordion/accordion_common.js
new file mode 100644 (file)
index 0000000..ef24cf2
--- /dev/null
@@ -0,0 +1,20 @@
+TestHelpers.commonWidgetTests( "accordion", {
+       defaults: {
+               active: 0,
+               animate: {},
+               collapsible: false,
+               disabled: false,
+               event: "click",
+               header: "> li > :first-child,> :not(li):even",
+               heightStyle: "auto",
+               icons: {
+                       "activeHeader": "ui-icon-triangle-1-s",
+                       "header": "ui-icon-triangle-1-e"
+               },
+
+               // callbacks
+               activate: null,
+               beforeActivate: null,
+               create: null
+       }
+});