From e7c9e8877e76a8d668756b1f752e12d17a2b124f Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 22:06:31 -0400 Subject: [PATCH] Selectmenu: Move selectmenu into widgets folder Ref #13885 --- demos/bootstrap.js | 3 ++- tests/unit/selectmenu/common.js | 2 +- tests/unit/selectmenu/core.js | 2 +- tests/unit/selectmenu/events.js | 2 +- tests/unit/selectmenu/methods.js | 2 +- tests/unit/selectmenu/options.js | 2 +- ui/{ => widgets}/selectmenu.js | 17 ++++++++--------- 7 files changed, 15 insertions(+), 15 deletions(-) rename ui/{ => widgets}/selectmenu.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index b726148c9..a773d20e6 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -36,7 +36,8 @@ var widgets = [ "mouse", "progressbar", "resizable", - "selectable" + "selectable", + "selectmenu" ]; function getPath( module ) { diff --git a/tests/unit/selectmenu/common.js b/tests/unit/selectmenu/common.js index b24b8dace..758e004ba 100644 --- a/tests/unit/selectmenu/common.js +++ b/tests/unit/selectmenu/common.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/selectmenu" + "ui/widgets/selectmenu" ], function( common ) { common.testWidget( "selectmenu", { diff --git a/tests/unit/selectmenu/core.js b/tests/unit/selectmenu/core.js index e5807817e..96e83f69b 100644 --- a/tests/unit/selectmenu/core.js +++ b/tests/unit/selectmenu/core.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/selectmenu" + "ui/widgets/selectmenu" ], function( $ ) { module( "selectmenu: core" ); diff --git a/tests/unit/selectmenu/events.js b/tests/unit/selectmenu/events.js index d5c463fa9..2ab20c46c 100644 --- a/tests/unit/selectmenu/events.js +++ b/tests/unit/selectmenu/events.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/selectmenu" + "ui/widgets/selectmenu" ], function( $ ) { module( "selectmenu: events", { diff --git a/tests/unit/selectmenu/methods.js b/tests/unit/selectmenu/methods.js index 8481e804e..a386655ce 100644 --- a/tests/unit/selectmenu/methods.js +++ b/tests/unit/selectmenu/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/selectmenu" + "ui/widgets/selectmenu" ], function( $ ) { module( "selectmenu: methods" ); diff --git a/tests/unit/selectmenu/options.js b/tests/unit/selectmenu/options.js index deb7a6d3a..be2565e37 100644 --- a/tests/unit/selectmenu/options.js +++ b/tests/unit/selectmenu/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/selectmenu" + "ui/widgets/selectmenu" ], function( $ ) { module( "selectmenu: options" ); diff --git a/ui/selectmenu.js b/ui/widgets/selectmenu.js similarity index 99% rename from ui/selectmenu.js rename to ui/widgets/selectmenu.js index 19a9a05fe..bf415a826 100644 --- a/ui/selectmenu.js +++ b/ui/widgets/selectmenu.js @@ -22,15 +22,14 @@ // AMD. Register as an anonymous module. define( [ "jquery", - "./version", - "./escape-selector", - "./widgets/menu", - "./keycode", - "./labels", - "./position", - "./unique-id", - "./version", - "./widget" + "./menu", + "../escape-selector", + "../keycode", + "../labels", + "../position", + "../unique-id", + "../version", + "../widget" ], factory ); } else { -- 2.39.5