Skip to content

Commit fede67f

Browse files
committed
Dialog: Move dialog into widgets folder
1 parent 9ac0c9e commit fede67f

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

tests/unit/dialog/common-deprecated.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/dialog"
3+
"ui/widgets/dialog"
44
], function( common ) {
55

66
common.testWidget( "dialog", {

tests/unit/dialog/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/dialog"
3+
"ui/widgets/dialog"
44
], function( common ) {
55

66
common.testWidget( "dialog", {

tests/unit/dialog/core.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/dialog"
3+
"ui/widgets/dialog"
44
], function( $ ) {
55

66
// TODO add teardown callback to remove dialogs

tests/unit/dialog/deprecated.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/dialog"
3+
"ui/widgets/dialog"
44
], function( $ ) {
55

66
module( "dialog (deprecated): options" );

tests/unit/dialog/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/dialog"
4+
"ui/widgets/dialog"
55
], function( $, testHelper ) {
66

77
module("dialog: events");

tests/unit/dialog/helper.js

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

77
return $.extend( helper, {

tests/unit/dialog/methods.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/dialog"
3+
"ui/widgets/dialog"
44
], function( $ ) {
55

66
module("dialog: methods", {

tests/unit/dialog/options.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
define( [
22
"jquery",
33
"./helper",
4-
"ui/dialog",
5-
"ui/effect-blind",
6-
"ui/effect-explode"
4+
"ui/widgets/dialog",
5+
"ui/effects/effect-blind",
6+
"ui/effects/effect-explode"
77
], function( $, testHelper ) {
88

99
module("dialog: options");

ui/dialog.js renamed to ui/widgets/dialog.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
// AMD. Register as an anonymous module.
2323
define( [
2424
"jquery",
25-
"./keycode",
26-
"./safe-active-element",
27-
"./safe-blur",
28-
"./focusable",
29-
"./unique-id",
30-
"./tabbable",
31-
"./widget",
25+
"../keycode",
26+
"../safe-active-element",
27+
"../safe-blur",
28+
"../focusable",
29+
"../unique-id",
30+
"../tabbable",
31+
"../widget",
3232
"./button",
3333
"./draggable",
3434
"./mouse",
35-
"./position",
35+
"../position",
3636
"./resizable"
3737
], factory );
3838
} else {

0 commit comments

Comments
 (0)