Skip to content

Commit dd6a99f

Browse files
committed
Button: Move button into widgets folder
Ref #13885
1 parent 4c6b146 commit dd6a99f

9 files changed

Lines changed: 14 additions & 13 deletions

File tree

demos/bootstrap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ var effectsAll = [
2626
];
2727
var widgets = [
2828
"accordion",
29-
"autocomplete"
29+
"autocomplete",
30+
"button"
3031
];
3132

3233
function getPath( module ) {

tests/unit/button/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/button"
3+
"ui/widgets/button"
44
], function( common ) {
55

66
common.testWidget( "button", {

tests/unit/button/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/button"
3+
"ui/widgets/button"
44
], function( $ ) {
55

66
module("button: core");

tests/unit/button/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/button"
3+
"ui/widgets/button"
44
], function( $ ) {
55

66
module("button: events");

tests/unit/button/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/button"
3+
"ui/widgets/button"
44
], function( $ ) {
55

66
module("button: methods");

tests/unit/button/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/button"
3+
"ui/widgets/button"
44
], function( $ ) {
55

66
module( "button: options" );

ui/dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"./version",
2727
"./keycode",
2828
"./widget",
29-
"./button",
29+
"./widgets/button",
3030
"./draggable",
3131
"./focusable",
3232
"./mouse",

ui/spinner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"./keycode",
2727
"./safe-active-element",
2828
"./widget",
29-
"./button"
29+
"./widgets/button"
3030
], factory );
3131
} else {
3232

ui/button.js renamed to ui/widgets/button.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-
"./data",
26-
"./keycode",
27-
"./labels",
28-
"./version",
29-
"./widget"
25+
"../data",
26+
"../keycode",
27+
"../labels",
28+
"../version",
29+
"../widget"
3030
], factory );
3131
} else {
3232

0 commit comments

Comments
 (0)