From 18486cb60cd0718e2f7b60bbd3976e95a2a94875 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 22:11:35 -0400 Subject: [PATCH] Tabs: Move tabs into widgets directory Ref #13885 --- demos/bootstrap.js | 3 ++- tests/unit/tabs/common.js | 2 +- tests/unit/tabs/core.js | 2 +- tests/unit/tabs/events.js | 2 +- tests/unit/tabs/helper.js | 2 +- tests/unit/tabs/methods.js | 2 +- tests/unit/tabs/options.js | 2 +- ui/{ => widgets}/tabs.js | 12 ++++++------ 8 files changed, 14 insertions(+), 13 deletions(-) rename ui/{ => widgets}/tabs.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index 7a6202d18..7407de3e4 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -40,7 +40,8 @@ var widgets = [ "selectmenu", "slider", "sortable", - "spinner" + "spinner", + "tabs" ]; function getPath( module ) { diff --git a/tests/unit/tabs/common.js b/tests/unit/tabs/common.js index d3aa5cd48..42dd0c2fc 100644 --- a/tests/unit/tabs/common.js +++ b/tests/unit/tabs/common.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/tabs" + "ui/widgets/tabs" ], function( common ) { common.testWidget( "tabs", { diff --git a/tests/unit/tabs/core.js b/tests/unit/tabs/core.js index 0d9a7306b..b64f1d8f3 100644 --- a/tests/unit/tabs/core.js +++ b/tests/unit/tabs/core.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/tabs" + "ui/widgets/tabs" ], function( $, testHelper ) { var state = testHelper.state; diff --git a/tests/unit/tabs/events.js b/tests/unit/tabs/events.js index d54d47926..7e3d27fda 100644 --- a/tests/unit/tabs/events.js +++ b/tests/unit/tabs/events.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/tabs" + "ui/widgets/tabs" ], function( $, testHelper ) { var state = testHelper.state; diff --git a/tests/unit/tabs/helper.js b/tests/unit/tabs/helper.js index 5c9625f8c..132061753 100644 --- a/tests/unit/tabs/helper.js +++ b/tests/unit/tabs/helper.js @@ -1,7 +1,7 @@ define( [ "jquery", "lib/helper", - "ui/tabs" + "ui/widgets/tabs" ], function( $, helper ) { return $.extend( helper, { diff --git a/tests/unit/tabs/methods.js b/tests/unit/tabs/methods.js index 5975e5889..3be31c5f8 100644 --- a/tests/unit/tabs/methods.js +++ b/tests/unit/tabs/methods.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/tabs" + "ui/widgets/tabs" ], function( $, testHelper ) { var disabled = testHelper.disabled, diff --git a/tests/unit/tabs/options.js b/tests/unit/tabs/options.js index dc1a03505..39771efe6 100644 --- a/tests/unit/tabs/options.js +++ b/tests/unit/tabs/options.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/tabs" + "ui/widgets/tabs" ], function( $, testHelper ) { var disabled = testHelper.disabled, diff --git a/ui/tabs.js b/ui/widgets/tabs.js similarity index 99% rename from ui/tabs.js rename to ui/widgets/tabs.js index e2cfa3ae0..0b7bf5850 100644 --- a/ui/tabs.js +++ b/ui/widgets/tabs.js @@ -22,12 +22,12 @@ // AMD. Register as an anonymous module. define( [ "jquery", - "./escape-selector", - "./keycode", - "./safe-active-element", - "./unique-id", - "./version", - "./widget" + "../escape-selector", + "../keycode", + "../safe-active-element", + "../unique-id", + "../version", + "../widget" ], factory ); } else { -- 2.39.5