imported the whole jquery-ui package, refreshed with 1.10.2
[unfold.git] / third-party / jquery-ui-1.10.2 / tests / unit / tooltip / tooltip_common.js
diff --git a/third-party/jquery-ui-1.10.2/tests/unit/tooltip/tooltip_common.js b/third-party/jquery-ui-1.10.2/tests/unit/tooltip/tooltip_common.js
new file mode 100644 (file)
index 0000000..2d6ea91
--- /dev/null
@@ -0,0 +1,21 @@
+TestHelpers.commonWidgetTests( "tooltip", {
+       defaults: {
+               content: function() {},
+               disabled: false,
+               hide: true,
+               items: "[title]:not([disabled])",
+               position: {
+                       my: "left top+15",
+                       at: "left bottom",
+                       collision: "flipfit flip"
+               },
+               show: true,
+               tooltipClass: null,
+               track: false,
+
+               // callbacks
+               close: null,
+               create: null,
+               open: null
+       }
+});