From e59b596141d60b5aff4dbf1c384c62abfcf9c505 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 22:05:00 -0400 Subject: [PATCH] Resizable: Move resizable into widgets folder Ref #13885 --- demos/bootstrap.js | 4 ++-- tests/unit/draggable/core.js | 2 +- tests/unit/resizable/common.js | 2 +- tests/unit/resizable/core.js | 2 +- tests/unit/resizable/events.js | 2 +- tests/unit/resizable/methods.js | 2 +- tests/unit/resizable/options.js | 2 +- ui/widgets/dialog.js | 2 +- ui/{ => widgets}/resizable.js | 10 +++++----- 9 files changed, 14 insertions(+), 14 deletions(-) rename ui/{ => widgets}/resizable.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index 37f3321db..4f5dc8127 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -34,8 +34,8 @@ var widgets = [ "droppable", "menu", "mouse", - "progressbar" - + "progressbar", + "resizable" ]; function getPath( module ) { diff --git a/tests/unit/draggable/core.js b/tests/unit/draggable/core.js index e4b7a53eb..30563b622 100644 --- a/tests/unit/draggable/core.js +++ b/tests/unit/draggable/core.js @@ -3,7 +3,7 @@ define( [ "./helper", "ui/widgets/draggable", "ui/widgets/droppable", - "ui/resizable" + "ui/widgets/resizable" ], function( $, testHelper ) { module( "draggable: core" ); diff --git a/tests/unit/resizable/common.js b/tests/unit/resizable/common.js index 822a4db87..6096446f3 100644 --- a/tests/unit/resizable/common.js +++ b/tests/unit/resizable/common.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/resizable" + "ui/widgets/resizable" ], function( common ) { common.testWidget( "resizable", { diff --git a/tests/unit/resizable/core.js b/tests/unit/resizable/core.js index 8c21fbd7d..450fd6ef8 100644 --- a/tests/unit/resizable/core.js +++ b/tests/unit/resizable/core.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/resizable" + "ui/widgets/resizable" ], function( $, testHelper ) { module("resizable: core"); diff --git a/tests/unit/resizable/events.js b/tests/unit/resizable/events.js index 2a06f87cc..eb64400c6 100644 --- a/tests/unit/resizable/events.js +++ b/tests/unit/resizable/events.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/resizable" + "ui/widgets/resizable" ], function( $, testHelper ) { module("resizable: events"); diff --git a/tests/unit/resizable/methods.js b/tests/unit/resizable/methods.js index a7056a105..ed79ef621 100644 --- a/tests/unit/resizable/methods.js +++ b/tests/unit/resizable/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/resizable" + "ui/widgets/resizable" ], function( $ ) { module( "resizable: methods" ); diff --git a/tests/unit/resizable/options.js b/tests/unit/resizable/options.js index 7d9615b64..1e643a576 100644 --- a/tests/unit/resizable/options.js +++ b/tests/unit/resizable/options.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/resizable" + "ui/widgets/resizable" ], function( $, testHelper ) { module("resizable: options"); diff --git a/ui/widgets/dialog.js b/ui/widgets/dialog.js index 88f8c93de..40f6c614f 100644 --- a/ui/widgets/dialog.js +++ b/ui/widgets/dialog.js @@ -25,7 +25,7 @@ "./button", "./draggable", "./mouse", - "../resizable", + "./resizable", "../focusable", "../keycode", "../position", diff --git a/ui/resizable.js b/ui/widgets/resizable.js similarity index 99% rename from ui/resizable.js rename to ui/widgets/resizable.js index 8513efe81..95cf918d9 100644 --- a/ui/resizable.js +++ b/ui/widgets/resizable.js @@ -22,11 +22,11 @@ // AMD. Register as an anonymous module. define([ "jquery", - "./disable-selection", - "./widgets/mouse", - "./plugin", - "./version", - "./widget" + "./mouse", + "../disable-selection", + "../plugin", + "../version", + "../widget" ], factory ); } else { -- 2.39.5