mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable Unit: Removed any references to addClasses
This commit is contained in:
parent
3cd5010b80
commit
ee55a9df42
@ -4,17 +4,16 @@ TestHelpers.commonWidgetTests( "draggable", {
|
||||
appendTo: null,
|
||||
containment: null,
|
||||
disabled: false,
|
||||
// exclude: "input,textarea,button,select,option",
|
||||
exclude: "input,textarea,button,select,option",
|
||||
handle: null,
|
||||
helper: false,
|
||||
|
||||
// backCompat options
|
||||
// addClasses: true,
|
||||
// axis: false,
|
||||
axis: false,
|
||||
// connectToSortable: false,
|
||||
// cursor: "auto",
|
||||
// cursorAt: false,
|
||||
// grid: false,
|
||||
cursor: "auto",
|
||||
cursorAt: false,
|
||||
grid: false,
|
||||
// iframeFix: false,
|
||||
// opacity: false,
|
||||
// refreshPositions: false,
|
||||
|
@ -5,22 +5,6 @@
|
||||
|
||||
module("draggable: options");
|
||||
|
||||
test("{ addClasses: true }, default", function() {
|
||||
expect( 1 );
|
||||
var el = $("<div></div>").draggable({ addClasses: true });
|
||||
ok(el.is(".ui-draggable"), "'ui-draggable' class added");
|
||||
|
||||
el.draggable("destroy");
|
||||
});
|
||||
|
||||
test("{ addClasses: false }", function() {
|
||||
expect( 1 );
|
||||
var el = $("<div></div>").draggable({ addClasses: false });
|
||||
ok(!el.is(".ui-draggable"), "'ui-draggable' class not added");
|
||||
|
||||
el.draggable("destroy");
|
||||
});
|
||||
|
||||
test("{ appendTo: 'parent' }, default", function() {
|
||||
expect( 2 );
|
||||
var el = $("#draggable2").draggable({ appendTo: 'parent' });
|
||||
|
Loading…
Reference in New Issue
Block a user