aboutsummaryrefslogtreecommitdiffstats
path: root/demos/bootstrap.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-07-14 22:01:41 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-08 00:29:38 -0400
commit59ea81003da93d74414989a6c49498183e501289 (patch)
treed31adff0bfafbde19994e55c634a53bbcf599dc2 /demos/bootstrap.js
parent3b2db14b3beb1d5abbb2b9d102b1afa14733fef2 (diff)
downloadjquery-ui-59ea81003da93d74414989a6c49498183e501289.tar.gz
jquery-ui-59ea81003da93d74414989a6c49498183e501289.zip
Effects: Move individual effects into effects folder
Ref #13885
Diffstat (limited to 'demos/bootstrap.js')
-rw-r--r--demos/bootstrap.js33
1 files changed, 19 insertions, 14 deletions
diff --git a/demos/bootstrap.js b/demos/bootstrap.js
index 92632919c..a182f7f1c 100644
--- a/demos/bootstrap.js
+++ b/demos/bootstrap.js
@@ -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 ) {