Menu: Move menu into widgets folder

Ref #13885
This commit is contained in:
Alexander Schmitz 2015-07-14 22:03:37 -04:00
parent 8b3005fd58
commit 8140d0c901
9 changed files with 15 additions and 15 deletions

3
demos/bootstrap.js vendored
View File

@ -31,7 +31,8 @@ var widgets = [
"datepicker", "datepicker",
"dialog", "dialog",
"draggable", "draggable",
"droppable" "droppable",
"menu"
]; ];
function getPath( module ) { function getPath( module ) {

View File

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

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"./helper", "./helper",
"ui/menu" "ui/widgets/menu"
], function( $, testHelper ) { ], function( $, testHelper ) {
module( "menu: core" ); module( "menu: core" );

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"./helper", "./helper",
"ui/menu" "ui/widgets/menu"
], function( $, testHelper ) { ], function( $, testHelper ) {
var log = testHelper.log, var log = testHelper.log,

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"./helper", "./helper",
"ui/menu" "ui/widgets/menu"
], function( $, testHelper ) { ], function( $, testHelper ) {
var log = testHelper.log, var log = testHelper.log,

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"./helper", "./helper",
"ui/menu" "ui/widgets/menu"
], function( $, testHelper ) { ], function( $, testHelper ) {
var log = testHelper.log, var log = testHelper.log,

View File

@ -24,7 +24,7 @@
"jquery", "jquery",
"./version", "./version",
"./escape-selector", "./escape-selector",
"./menu", "./widgets/menu",
"./keycode", "./keycode",
"./labels", "./labels",
"./position", "./position",

View File

@ -22,7 +22,7 @@
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define( [ define( [
"jquery", "jquery",
"../menu", "./menu",
"../keycode", "../keycode",
"../position", "../position",
"../safe-active-element", "../safe-active-element",

View File

@ -22,13 +22,12 @@
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define( [ define( [
"jquery", "jquery",
"./core", "../keycode",
"./version", "../position",
"./keycode", "../safe-active-element",
"./position", "../unique-id",
"./safe-active-element", "../version",
"./unique-id", "../widget"
"./widget"
], factory ); ], factory );
} else { } else {