imported the whole jquery-ui package, refreshed with 1.10.2
[unfold.git] / third-party / jquery-ui-1.10.2 / tests / unit / sortable / sortable_common.js
diff --git a/third-party/jquery-ui-1.10.2/tests/unit/sortable/sortable_common.js b/third-party/jquery-ui-1.10.2/tests/unit/sortable/sortable_common.js
new file mode 100644 (file)
index 0000000..86850a6
--- /dev/null
@@ -0,0 +1,45 @@
+TestHelpers.commonWidgetTests( "sortable", {
+       defaults: {
+               appendTo: "parent",
+               axis: false,
+               cancel: "input,textarea,button,select,option",
+               connectWith: false,
+               containment: false,
+               cursor: "auto",
+               cursorAt: false,
+               delay: 0,
+               disabled: false,
+               distance: 1,
+               dropOnEmpty: true,
+               forcePlaceholderSize: false,
+               forceHelperSize: false,
+               grid: false,
+               handle: false,
+               helper: "original",
+               items: "> *",
+               opacity: false,
+               placeholder: false,
+               revert: false,
+               scroll: true,
+               scrollSensitivity: 20,
+               scrollSpeed: 20,
+               scope: "default",
+               tolerance: "intersect",
+               zIndex: 1000,
+
+               // callbacks
+               activate: null,
+               beforeStop: null,
+               change: null,
+               create: null,
+               deactivate: null,
+               out: null,
+               over: null,
+               receive: null,
+               remove: null,
+               sort: null,
+               start: null,
+               stop: null,
+               update: null
+       }
+});