From 5dc88353d49636798e99ae7c276c4a5ec14055d8 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 22:18:43 -0400 Subject: [PATCH] Mouse: Move mouse into widgets folder Ref #13885 --- demos/bootstrap.js | 2 ++ ui/resizable.js | 2 +- ui/selectable.js | 2 +- ui/slider.js | 2 +- ui/sortable.js | 2 +- ui/widgets/dialog.js | 2 +- ui/widgets/draggable.js | 2 +- ui/widgets/droppable.js | 2 +- ui/{ => widgets}/mouse.js | 6 +++--- 9 files changed, 12 insertions(+), 10 deletions(-) rename ui/{ => widgets}/mouse.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index 5a5d88889..37f3321db 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -33,7 +33,9 @@ var widgets = [ "draggable", "droppable", "menu", + "mouse", "progressbar" + ]; function getPath( module ) { diff --git a/ui/resizable.js b/ui/resizable.js index ca36f2ca2..8513efe81 100644 --- a/ui/resizable.js +++ b/ui/resizable.js @@ -23,7 +23,7 @@ define([ "jquery", "./disable-selection", - "./mouse", + "./widgets/mouse", "./plugin", "./version", "./widget" diff --git a/ui/selectable.js b/ui/selectable.js index ec4895d15..160fcf56d 100644 --- a/ui/selectable.js +++ b/ui/selectable.js @@ -21,7 +21,7 @@ define([ "jquery", "./version", - "./mouse", + "./widgets/mouse", "./widget" ], factory ); } else { diff --git a/ui/slider.js b/ui/slider.js index ff883a1eb..3690fbc3c 100644 --- a/ui/slider.js +++ b/ui/slider.js @@ -23,7 +23,7 @@ define([ "jquery", "./keycode", - "./mouse", + "./widgets/mouse", "./version", "./widget" ], factory ); diff --git a/ui/sortable.js b/ui/sortable.js index cb89c30e6..ecf8bffb4 100644 --- a/ui/sortable.js +++ b/ui/sortable.js @@ -24,7 +24,7 @@ "./data", "./version", "./ie", - "./mouse", + "./widgets/mouse", "./scroll-parent", "./widget" ], factory ); diff --git a/ui/widgets/dialog.js b/ui/widgets/dialog.js index 856ad9bb0..88f8c93de 100644 --- a/ui/widgets/dialog.js +++ b/ui/widgets/dialog.js @@ -24,7 +24,7 @@ "jquery", "./button", "./draggable", - "../mouse", + "./mouse", "../resizable", "../focusable", "../keycode", diff --git a/ui/widgets/draggable.js b/ui/widgets/draggable.js index e26be73b1..ab9d24667 100644 --- a/ui/widgets/draggable.js +++ b/ui/widgets/draggable.js @@ -20,7 +20,7 @@ // AMD. Register as an anonymous module. define([ "jquery", - "../mouse", + "./mouse", "../data", "../plugin", "../safe-active-element", diff --git a/ui/widgets/droppable.js b/ui/widgets/droppable.js index 551828b6d..3a8bd7109 100644 --- a/ui/widgets/droppable.js +++ b/ui/widgets/droppable.js @@ -20,7 +20,7 @@ define([ "jquery", "./draggable", - "../mouse", + "./mouse", "../version", "../widget" ], factory ); diff --git a/ui/mouse.js b/ui/widgets/mouse.js similarity index 99% rename from ui/mouse.js rename to ui/widgets/mouse.js index a48a799c5..80242c0b7 100644 --- a/ui/mouse.js +++ b/ui/widgets/mouse.js @@ -18,9 +18,9 @@ // AMD. Register as an anonymous module. define([ "jquery", - "./ie", - "./version", - "./widget" + "../ie", + "../version", + "../widget" ], factory ); } else { -- 2.39.5