Skip to content

Commit 657b6d0

Browse files
committed
Sortable: Move sortable into widgets folder
Ref #13885
1 parent 149a1a2 commit 657b6d0

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

demos/bootstrap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ var widgets = [
3838
"resizable",
3939
"selectable",
4040
"selectmenu",
41-
"slider"
41+
"slider",
42+
"sortable"
4243
];
4344

4445
function getPath( module ) {

tests/unit/draggable/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ define( [
33
"./helper",
44
"ui/widgets/draggable",
55
"ui/widgets/droppable",
6-
"ui/sortable"
6+
"ui/widgets/sortable"
77
], function( $, testHelper ) {
88

99
// TODO: This doesn't actually test whether append happened, possibly remove

tests/unit/sortable/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"lib/common",
3-
"ui/sortable"
3+
"ui/widgets/sortable"
44
], function( common ) {
55

66
common.testWidget( "sortable", {

tests/unit/sortable/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
define( [
22
"jquery",
33
"./helper",
4-
"ui/sortable"
4+
"ui/widgets/sortable"
55
], function( $, testHelper ) {
66

77
module( "sortable: core" );

tests/unit/sortable/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
define( [
22
"jquery",
33
"./helper",
4-
"ui/sortable",
4+
"ui/widgets/sortable",
55
"ui/widgets/draggable"
66
], function( $, testHelper ) {
77

tests/unit/sortable/methods.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
define( [
22
"jquery",
33
"./helper",
4-
"ui/sortable"
4+
"ui/widgets/sortable"
55
], function( $, testHelper ) {
66

77
module("sortable: methods");

tests/unit/sortable/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"jquery",
3-
"ui/sortable"
3+
"ui/widgets/sortable"
44
], function( $ ) {
55

66
module("sortable: options");

ui/sortable.js renamed to ui/widgets/sortable.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@
2020
// AMD. Register as an anonymous module.
2121
define([
2222
"jquery",
23-
"./core",
24-
"./data",
25-
"./version",
26-
"./ie",
27-
"./widgets/mouse",
28-
"./scroll-parent",
29-
"./widget"
23+
"./mouse",
24+
"../data",
25+
"../ie",
26+
"../scroll-parent",
27+
"../version",
28+
"../widget"
3029
], factory );
3130
} else {
3231

0 commit comments

Comments
 (0)