From 2a279db00a2d808884e887c90c9bd9bd40afb31f Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 22:05:54 -0400 Subject: [PATCH] Selectable: Move selectable into widgets folder Ref #13885 --- demos/bootstrap.js | 3 ++- tests/unit/selectable/common.js | 2 +- tests/unit/selectable/events.js | 2 +- tests/unit/selectable/methods.js | 2 +- tests/unit/selectable/options.js | 2 +- ui/{ => widgets}/selectable.js | 6 +++--- 6 files changed, 9 insertions(+), 8 deletions(-) rename ui/{ => widgets}/selectable.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index 4f5dc8127..b726148c9 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -35,7 +35,8 @@ var widgets = [ "menu", "mouse", "progressbar", - "resizable" + "resizable", + "selectable" ]; function getPath( module ) { diff --git a/tests/unit/selectable/common.js b/tests/unit/selectable/common.js index 9a14e6df5..317fde562 100644 --- a/tests/unit/selectable/common.js +++ b/tests/unit/selectable/common.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/selectable" + "ui/widgets/selectable" ], function( common ) { common.testWidget( "selectable", { diff --git a/tests/unit/selectable/events.js b/tests/unit/selectable/events.js index 6eb99f325..5d4e48996 100644 --- a/tests/unit/selectable/events.js +++ b/tests/unit/selectable/events.js @@ -1,7 +1,7 @@ define( [ "jquery", "lib/helper", - "ui/selectable" + "ui/widgets/selectable" ], function( $, testHelpers ) { module("selectable: events"); diff --git a/tests/unit/selectable/methods.js b/tests/unit/selectable/methods.js index 045809670..ee60e4ebf 100644 --- a/tests/unit/selectable/methods.js +++ b/tests/unit/selectable/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/selectable" + "ui/widgets/selectable" ], function( $ ) { module("selectable: methods"); diff --git a/tests/unit/selectable/options.js b/tests/unit/selectable/options.js index cdbfb4aab..6bb898d26 100644 --- a/tests/unit/selectable/options.js +++ b/tests/unit/selectable/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/selectable" + "ui/widgets/selectable" ], function( $ ) { module("selectable: options"); diff --git a/ui/selectable.js b/ui/widgets/selectable.js similarity index 99% rename from ui/selectable.js rename to ui/widgets/selectable.js index 160fcf56d..4edf46ad6 100644 --- a/ui/selectable.js +++ b/ui/widgets/selectable.js @@ -20,9 +20,9 @@ // AMD. Register as an anonymous module. define([ "jquery", - "./version", - "./widgets/mouse", - "./widget" + "./mouse", + "../version", + "../widget" ], factory ); } else { -- 2.39.5