Accordion: Move accordion into widgets folder

Ref #13885
This commit is contained in:
Alexander Schmitz 2015-07-14 21:54:33 -04:00
parent e6dbcd9f30
commit 12d5aed283
8 changed files with 13 additions and 12 deletions

4
demos/bootstrap.js vendored
View File

@ -24,7 +24,9 @@ var effectsAll = [
"effect-size", "effect-size",
"effect-slide" "effect-slide"
]; ];
var widgets = []; var widgets = [
"accordion"
];
function getPath( module ) { function getPath( module ) {
for ( var i = 0; i < widgets.length; i++ ) { for ( var i = 0; i < widgets.length; i++ ) {

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"lib/helper", "lib/helper",
"ui/accordion" "ui/widgets/accordion"
], function( $, helper ) { ], function( $, helper ) {
return $.extend( helper, { return $.extend( helper, {

View File

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

View File

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

View File

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