]> source.dussan.org Git - jquery-ui.git/commitdiff
sortable: added default checks for scroll options
authorPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 24 Jun 2008 13:17:02 +0000 (13:17 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 24 Jun 2008 13:17:02 +0000 (13:17 +0000)
tests/sortable.js

index c9da3b729495d23ce2f0319884a5490a4d32ef01..6063bb5bc53d89fb7e3144e3ebdf80644ada47a0 100644 (file)
@@ -114,6 +114,9 @@ test("defaults", function() {
        equals(el.data("distance.sortable"), 0, "distance");\r
        equals(el.data("disabled.sortable"), false, "disabled");\r
        equals(el.data("delay.sortable"), 0, "delay");\r
+       equals(el.data("scroll.sortable"), true, "scroll");\r
+       equals(el.data("scrollSensitivity.sortable"), 20, "scrollSensitivity");\r
+       equals(el.data("scrollSpeed.sortable"), 20, "scrollSpeed");\r
        equals(el.data("cancel.sortable"), ":input,button", "cancel");\r
        equals(el.data("items.sortable"), "> *", "items");\r
        equals(el.data("zIndex.sortable"), 1000, "zIndex");     \r