Skip to content
Permalink
Browse files

Effects: Move individual effects into effects folder

Ref #13885
  • Loading branch information
arschmitz committed Jul 15, 2015
1 parent 3b2db14 commit 59ea81003da93d74414989a6c49498183e501289
@@ -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 ) {
@@ -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");
@@ -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 ) {
@@ -1,6 +1,6 @@
define( [
"jquery",
"ui/effect-scale"
"ui/effects/effect-scale"
], function( $ ) {

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

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

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

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

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

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

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

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

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

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

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

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

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

0 comments on commit 59ea810

Please sign in to comment.
You can’t perform that action at this time.