mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
parent
3b2db14b3b
commit
59ea81003d
33
demos/bootstrap.js
vendored
33
demos/bootstrap.js
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user