mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
tests droppable - implemented cssNamespace test
This commit is contained in:
parent
c1e8c7f07f
commit
9d802d0651
@ -156,7 +156,15 @@ test("activeClass", function() {
|
||||
});
|
||||
|
||||
test("cssNamespace", function() {
|
||||
ok(false, "missing test");
|
||||
//cssNamespace should be appended with '-droppable' and added as className
|
||||
el = $("<div></div>").droppable({ cssNamespace: "ui" });
|
||||
equals(el[0].className, "ui-droppable");
|
||||
el.droppable("destroy");
|
||||
|
||||
//no className should be added if cssNamepsace is null
|
||||
el = $("<div></div>").droppable({ cssNamespace: null });
|
||||
equals(el[0].className, "");
|
||||
el.droppable("destroy");
|
||||
});
|
||||
|
||||
test("greedy", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user