From 92e267903ebc4c1c0fc26468055296dd906ef76b Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 22:04:22 -0400 Subject: [PATCH] Progressbar: Move progressbar into widgets folder Ref #13885 --- demos/bootstrap.js | 3 ++- tests/unit/progressbar/common.js | 2 +- tests/unit/progressbar/core.js | 2 +- tests/unit/progressbar/events.js | 2 +- tests/unit/progressbar/methods.js | 2 +- tests/unit/progressbar/options.js | 2 +- ui/{ => widgets}/progressbar.js | 4 ++-- 7 files changed, 9 insertions(+), 8 deletions(-) rename ui/{ => widgets}/progressbar.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index 15f220c21..5a5d88889 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -32,7 +32,8 @@ var widgets = [ "dialog", "draggable", "droppable", - "menu" + "menu", + "progressbar" ]; function getPath( module ) { diff --git a/tests/unit/progressbar/common.js b/tests/unit/progressbar/common.js index c949f136f..baadb6d53 100644 --- a/tests/unit/progressbar/common.js +++ b/tests/unit/progressbar/common.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/progressbar" + "ui/widgets/progressbar" ], function( common ) { common.testWidget( "progressbar", { diff --git a/tests/unit/progressbar/core.js b/tests/unit/progressbar/core.js index 05eea9ef7..8c09f67ae 100644 --- a/tests/unit/progressbar/core.js +++ b/tests/unit/progressbar/core.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/progressbar" + "ui/widgets/progressbar" ], function( $ ) { module( "progressbar: core" ); diff --git a/tests/unit/progressbar/events.js b/tests/unit/progressbar/events.js index a40b2c432..7f4926466 100644 --- a/tests/unit/progressbar/events.js +++ b/tests/unit/progressbar/events.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/progressbar" + "ui/widgets/progressbar" ], function( $ ) { module( "progressbar: events" ); diff --git a/tests/unit/progressbar/methods.js b/tests/unit/progressbar/methods.js index eaf0a5c76..00de2f46e 100644 --- a/tests/unit/progressbar/methods.js +++ b/tests/unit/progressbar/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/progressbar" + "ui/widgets/progressbar" ], function( $ ) { module( "progressbar: methods" ); diff --git a/tests/unit/progressbar/options.js b/tests/unit/progressbar/options.js index 7b6ac9db2..533c15351 100644 --- a/tests/unit/progressbar/options.js +++ b/tests/unit/progressbar/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/progressbar" + "ui/widgets/progressbar" ], function( $ ) { module( "progressbar: options" ); diff --git a/ui/progressbar.js b/ui/widgets/progressbar.js similarity index 99% rename from ui/progressbar.js rename to ui/widgets/progressbar.js index 7b1cc9351..a52cbb713 100644 --- a/ui/progressbar.js +++ b/ui/widgets/progressbar.js @@ -22,8 +22,8 @@ // AMD. Register as an anonymous module. define( [ "jquery", - "./version", - "./widget" + "../version", + "../widget" ], factory ); } else { -- 2.39.5