aboutsummaryrefslogtreecommitdiffstats
path: root/demos/bootstrap.js
diff options
context:
space:
mode:
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 ) {