diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-06-30 18:57:51 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-21 11:00:41 -0400 |
commit | d13f81d88a18836844ea4dc0f4e572fe07dafbb0 (patch) | |
tree | 3b64d66e93592c701f095621b40b89576c4c161d /demos/effect/show.html | |
parent | 6acdd4a44447d4a4a002284b82c9e4e3e9df009b (diff) | |
download | jquery-ui-d13f81d88a18836844ea4dc0f4e572fe07dafbb0.tar.gz jquery-ui-d13f81d88a18836844ea4dc0f4e572fe07dafbb0.zip |
Effects: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/effect/show.html')
-rw-r--r-- | demos/effect/show.html | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/demos/effect/show.html b/demos/effect/show.html index f95c513ae..4bb0919e4 100644 --- a/demos/effect/show.html +++ b/demos/effect/show.html @@ -4,22 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Effects - Show Demo</title> <link rel="stylesheet" href="../../themes/base/all.css"> - <script src="../../external/jquery/jquery.js"></script> - <script src="../../ui/effect.js"></script> - <script src="../../ui/effect-blind.js"></script> - <script src="../../ui/effect-bounce.js"></script> - <script src="../../ui/effect-clip.js"></script> - <script src="../../ui/effect-drop.js"></script> - <script src="../../ui/effect-explode.js"></script> - <script src="../../ui/effect-fade.js"></script> - <script src="../../ui/effect-fold.js"></script> - <script src="../../ui/effect-highlight.js"></script> - <script src="../../ui/effect-puff.js"></script> - <script src="../../ui/effect-pulsate.js"></script> - <script src="../../ui/effect-scale.js"></script> - <script src="../../ui/effect-shake.js"></script> - <script src="../../ui/effect-size.js"></script> - <script src="../../ui/effect-slide.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .toggler { width: 500px; height: 200px; } @@ -27,8 +11,8 @@ #effect { width: 240px; height: 170px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; padding: 0.4em; text-align: center; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="effects-all"> // run the currently selected effect function runEffect() { // get effect type from @@ -60,7 +44,6 @@ }); $( "#effect" ).hide(); - }); </script> </head> <body> |