Dialog: Move dialog into widgets folder

Ref #13885
This commit is contained in:
Alexander Schmitz 2015-07-14 21:59:10 -04:00
parent f1ce6e5de5
commit 5efa98361e
10 changed files with 23 additions and 23 deletions

3
demos/bootstrap.js vendored
View File

@ -28,7 +28,8 @@ var widgets = [
"accordion",
"autocomplete",
"button",
"datepicker"
"datepicker",
"dialog"
];
function getPath( module ) {

View File

@ -1,6 +1,6 @@
define( [
"lib/common",
"ui/dialog"
"ui/widgets/dialog"
], function( common ) {
common.testWidget( "dialog", {

View File

@ -1,6 +1,6 @@
define( [
"lib/common",
"ui/dialog"
"ui/widgets/dialog"
], function( common ) {
common.testWidget( "dialog", {

View File

@ -1,6 +1,6 @@
define( [
"jquery",
"ui/dialog"
"ui/widgets/dialog"
], function( $ ) {
// TODO add teardown callback to remove dialogs

View File

@ -1,6 +1,6 @@
define( [
"jquery",
"ui/dialog"
"ui/widgets/dialog"
], function( $ ) {
module( "dialog (deprecated): options" );

View File

@ -1,7 +1,7 @@
define( [
"jquery",
"./helper",
"ui/dialog"
"ui/widgets/dialog"
], function( $, testHelper ) {
module("dialog: events");

View File

@ -1,7 +1,7 @@
define( [
"jquery",
"lib/helper",
"ui/dialog"
"ui/widgets/dialog"
], function( $, helper ) {
return $.extend( helper, {

View File

@ -1,6 +1,6 @@
define( [
"jquery",
"ui/dialog"
"ui/widgets/dialog"
], function( $ ) {
module("dialog: methods", {

View File

@ -1,7 +1,7 @@
define( [
"jquery",
"./helper",
"ui/dialog",
"ui/widgets/dialog",
"ui/effect-blind",
"ui/effect-explode"
], function( $, testHelper ) {

View File

@ -22,20 +22,19 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./core",
"./version",
"./keycode",
"./widget",
"./widgets/button",
"./draggable",
"./focusable",
"./mouse",
"./position",
"./resizable",
"./safe-active-element",
"./safe-blur",
"./tabbable",
"./unique-id"
"./button",
"../mouse",
"../resizable",
"../draggable",
"../focusable",
"../keycode",
"../position",
"../safe-active-element",
"../safe-blur",
"../tabbable",
"../unique-id",
"../version",
"../widget"
], factory );
} else {