Button: Move button into widgets folder

Ref #13885
This commit is contained in:
Alexander Schmitz 2015-07-14 21:57:20 -04:00
parent 4c6b1463ea
commit dd6a99f140
9 changed files with 14 additions and 13 deletions

3
demos/bootstrap.js vendored
View File

@ -26,7 +26,8 @@ var effectsAll = [
]; ];
var widgets = [ var widgets = [
"accordion", "accordion",
"autocomplete" "autocomplete",
"button"
]; ];
function getPath( module ) { function getPath( module ) {

View File

@ -1,6 +1,6 @@
define( [ define( [
"lib/common", "lib/common",
"ui/button" "ui/widgets/button"
], function( common ) { ], function( common ) {
common.testWidget( "button", { common.testWidget( "button", {

View File

@ -1,6 +1,6 @@
define( [ define( [
"jquery", "jquery",
"ui/button" "ui/widgets/button"
], function( $ ) { ], function( $ ) {
module("button: core"); module("button: core");

View File

@ -1,6 +1,6 @@
define( [ define( [
"jquery", "jquery",
"ui/button" "ui/widgets/button"
], function( $ ) { ], function( $ ) {
module("button: events"); module("button: events");

View File

@ -1,6 +1,6 @@
define( [ define( [
"jquery", "jquery",
"ui/button" "ui/widgets/button"
], function( $ ) { ], function( $ ) {
module("button: methods"); module("button: methods");

View File

@ -1,6 +1,6 @@
define( [ define( [
"jquery", "jquery",
"ui/button" "ui/widgets/button"
], function( $ ) { ], function( $ ) {
module( "button: options" ); module( "button: options" );

View File

@ -26,7 +26,7 @@
"./version", "./version",
"./keycode", "./keycode",
"./widget", "./widget",
"./button", "./widgets/button",
"./draggable", "./draggable",
"./focusable", "./focusable",
"./mouse", "./mouse",

View File

@ -26,7 +26,7 @@
"./keycode", "./keycode",
"./safe-active-element", "./safe-active-element",
"./widget", "./widget",
"./button" "./widgets/button"
], factory ); ], factory );
} else { } else {

View File

@ -22,11 +22,11 @@
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ define([
"jquery", "jquery",
"./data", "../data",
"./keycode", "../keycode",
"./labels", "../labels",
"./version", "../version",
"./widget" "../widget"
], factory ); ], factory );
} else { } else {