Effects: Move individual effects into effects folder

Ref #13885
This commit is contained in:
Alexander Schmitz 2015-07-14 22:01:41 -04:00
parent 3b2db14b3b
commit 59ea81003d
19 changed files with 67 additions and 62 deletions

33
demos/bootstrap.js vendored
View File

@ -9,20 +9,20 @@ var script = scripts[ scripts.length - 1 ];
var modules = script.getAttribute( "data-modules" );
var pathParts = window.location.pathname.split( "/" );
var effectsAll = [
"effect-blind",
"effect-bounce",
"effect-clip",
"effect-drop",
"effect-explode",
"effect-fade",
"effect-fold",
"effect-highlight",
"effect-puff",
"effect-pulsate",
"effect-scale",
"effect-shake",
"effect-size",
"effect-slide"
"effects/effect-blind",
"effects/effect-bounce",
"effects/effect-clip",
"effects/effect-drop",
"effects/effect-explode",
"effects/effect-fade",
"effects/effect-fold",
"effects/effect-highlight",
"effects/effect-puff",
"effects/effect-pulsate",
"effects/effect-scale",
"effects/effect-shake",
"effects/effect-size",
"effects/effect-slide"
];
var widgets = [
"accordion",
@ -39,6 +39,11 @@ function getPath( module ) {
return "widgets/" + module;
}
}
for ( var j = 0; j < effectsAll.length; j++ ) {
if ( module !== "effect" && effectsAll[ j ].indexOf( module ) !== -1 ) {
return "effects/" + module;
}
}
return module;
}
function fixPaths( modules ) {

View File

@ -2,8 +2,8 @@ define( [
"jquery",
"./helper",
"ui/widgets/dialog",
"ui/effect-blind",
"ui/effect-explode"
"ui/effects/effect-blind",
"ui/effects/effect-explode"
], function( $, testHelper ) {
module("dialog: options");

View File

@ -2,21 +2,21 @@ define( [
"jquery",
"lib/common",
"ui/effect",
"ui/effect-blind",
"ui/effect-bounce",
"ui/effect-clip",
"ui/effect-drop",
"ui/effect-explode",
"ui/effect-fade",
"ui/effect-fold",
"ui/effect-highlight",
"ui/effect-puff",
"ui/effect-pulsate",
"ui/effect-scale",
"ui/effect-shake",
"ui/effect-size",
"ui/effect-slide",
"ui/effect-transfer"
"ui/effects/effect-blind",
"ui/effects/effect-bounce",
"ui/effects/effect-clip",
"ui/effects/effect-drop",
"ui/effects/effect-explode",
"ui/effects/effect-fade",
"ui/effects/effect-fold",
"ui/effects/effect-highlight",
"ui/effects/effect-puff",
"ui/effects/effect-pulsate",
"ui/effects/effect-scale",
"ui/effects/effect-shake",
"ui/effects/effect-size",
"ui/effects/effect-slide",
"ui/effects/effect-transfer"
], function( $, common ) {
function present( value, array, message ) {

View File

@ -1,6 +1,6 @@
define( [
"jquery",
"ui/effect-scale"
"ui/effects/effect-scale"
], function( $ ) {
module( "effect.scale: Scale" );

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect",
"../version",
"../effect",
"./effect-scale"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect",
"../version",
"../effect",
"./effect-size"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {

View File

@ -19,8 +19,8 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
"./version",
"./effect"
"../version",
"../effect"
], factory );
} else {