From eeb962027e251dff9ae37e78934f56107f47951f Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 22:12:14 -0400 Subject: [PATCH] Tooltip: Move tooltip into widgets directory Ref #13885 --- demos/bootstrap.js | 3 ++- tests/unit/tooltip/common-deprecated.js | 2 +- tests/unit/tooltip/common.js | 2 +- tests/unit/tooltip/core.js | 2 +- tests/unit/tooltip/deprecated.js | 2 +- tests/unit/tooltip/events.js | 2 +- tests/unit/tooltip/methods.js | 2 +- tests/unit/tooltip/options.js | 2 +- ui/{ => widgets}/tooltip.js | 10 +++++----- 9 files changed, 14 insertions(+), 13 deletions(-) rename ui/{ => widgets}/tooltip.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index 7407de3e4..1b28a4dc6 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -41,7 +41,8 @@ var widgets = [ "slider", "sortable", "spinner", - "tabs" + "tabs", + "tooltip" ]; function getPath( module ) { diff --git a/tests/unit/tooltip/common-deprecated.js b/tests/unit/tooltip/common-deprecated.js index d32e7656d..9e3c5ef59 100644 --- a/tests/unit/tooltip/common-deprecated.js +++ b/tests/unit/tooltip/common-deprecated.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/tooltip" + "ui/widgets/tooltip" ], function( common ) { common.testWidget( "tooltip", { diff --git a/tests/unit/tooltip/common.js b/tests/unit/tooltip/common.js index f8045fc33..77e3f02b8 100644 --- a/tests/unit/tooltip/common.js +++ b/tests/unit/tooltip/common.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/tooltip" + "ui/widgets/tooltip" ], function( common ) { common.testWidget( "tooltip", { diff --git a/tests/unit/tooltip/core.js b/tests/unit/tooltip/core.js index de0b90224..e7e22b0e6 100644 --- a/tests/unit/tooltip/core.js +++ b/tests/unit/tooltip/core.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/tooltip" + "ui/widgets/tooltip" ], function( $ ) { module( "tooltip: core" ); diff --git a/tests/unit/tooltip/deprecated.js b/tests/unit/tooltip/deprecated.js index 057171ee2..b1325057b 100644 --- a/tests/unit/tooltip/deprecated.js +++ b/tests/unit/tooltip/deprecated.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/tooltip" + "ui/widgets/tooltip" ], function( $ ) { module( "tooltip: (deprecated) options" ); diff --git a/tests/unit/tooltip/events.js b/tests/unit/tooltip/events.js index d8e9fa2a9..7ad36dc08 100644 --- a/tests/unit/tooltip/events.js +++ b/tests/unit/tooltip/events.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/tooltip" + "ui/widgets/tooltip" ], function( $ ) { module( "tooltip: events" ); diff --git a/tests/unit/tooltip/methods.js b/tests/unit/tooltip/methods.js index 3db7b8f7c..b5b6ca6e9 100644 --- a/tests/unit/tooltip/methods.js +++ b/tests/unit/tooltip/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/tooltip" + "ui/widgets/tooltip" ], function( $ ) { module( "tooltip: methods" ); diff --git a/tests/unit/tooltip/options.js b/tests/unit/tooltip/options.js index a0730414e..6aa576583 100644 --- a/tests/unit/tooltip/options.js +++ b/tests/unit/tooltip/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/tooltip" + "ui/widgets/tooltip" ], function( $ ) { module( "tooltip: options" ); diff --git a/ui/tooltip.js b/ui/widgets/tooltip.js similarity index 99% rename from ui/tooltip.js rename to ui/widgets/tooltip.js index 58cc438e2..1c919582e 100644 --- a/ui/tooltip.js +++ b/ui/widgets/tooltip.js @@ -22,11 +22,11 @@ // AMD. Register as an anonymous module. define( [ "jquery", - "./keycode", - "./position", - "./unique-id", - "./version", - "./widget" + "../keycode", + "../position", + "../unique-id", + "../version", + "../widget" ], factory ); } else { -- 2.39.5