Skip to content

Commit eeb9620

Browse files
committed
Tooltip: Move tooltip into widgets directory
Ref #13885
1 parent 18486cb commit eeb9620

File tree

9 files changed

+14
-13
lines changed

9 files changed

+14
-13
lines changed

demos/bootstrap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ var widgets = [
4141
"slider",
4242
"sortable",
4343
"spinner",
44-
"tabs"
44+
"tabs",
45+
"tooltip"
4546
];
4647

4748
function getPath( module ) {

tests/unit/tooltip/common-deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"lib/common",
3-
"ui/tooltip"
3+
"ui/widgets/tooltip"
44
], function( common ) {
55

66
common.testWidget( "tooltip", {

tests/unit/tooltip/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"lib/common",
3-
"ui/tooltip"
3+
"ui/widgets/tooltip"
44
], function( common ) {
55

66
common.testWidget( "tooltip", {

tests/unit/tooltip/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"jquery",
3-
"ui/tooltip"
3+
"ui/widgets/tooltip"
44
], function( $ ) {
55

66
module( "tooltip: core" );

tests/unit/tooltip/deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"jquery",
3-
"ui/tooltip"
3+
"ui/widgets/tooltip"
44
], function( $ ) {
55

66
module( "tooltip: (deprecated) options" );

tests/unit/tooltip/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"jquery",
3-
"ui/tooltip"
3+
"ui/widgets/tooltip"
44
], function( $ ) {
55

66
module( "tooltip: events" );

tests/unit/tooltip/methods.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"jquery",
3-
"ui/tooltip"
3+
"ui/widgets/tooltip"
44
], function( $ ) {
55

66
module( "tooltip: methods" );

tests/unit/tooltip/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define( [
22
"jquery",
3-
"ui/tooltip"
3+
"ui/widgets/tooltip"
44
], function( $ ) {
55

66
module( "tooltip: options" );

ui/tooltip.js renamed to ui/widgets/tooltip.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
// AMD. Register as an anonymous module.
2323
define( [
2424
"jquery",
25-
"./keycode",
26-
"./position",
27-
"./unique-id",
28-
"./version",
29-
"./widget"
25+
"../keycode",
26+
"../position",
27+
"../unique-id",
28+
"../version",
29+
"../widget"
3030
], factory );
3131
} else {
3232

0 commit comments

Comments
 (0)