aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/animate.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-06-30 18:57:51 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:41 -0400
commitd13f81d88a18836844ea4dc0f4e572fe07dafbb0 (patch)
tree3b64d66e93592c701f095621b40b89576c4c161d /demos/effect/animate.html
parent6acdd4a44447d4a4a002284b82c9e4e3e9df009b (diff)
downloadjquery-ui-d13f81d88a18836844ea4dc0f4e572fe07dafbb0.tar.gz
jquery-ui-d13f81d88a18836844ea4dc0f4e572fe07dafbb0.zip
Effects: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/effect/animate.html')
-rw-r--r--demos/effect/animate.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/effect/animate.html b/demos/effect/animate.html
index 853b72326..603e93fe9 100644
--- a/demos/effect/animate.html
+++ b/demos/effect/animate.html
@@ -4,8 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Effects - Animate demo</title>
<link rel="stylesheet" href="../../themes/base/all.css">
- <script src="../../external/jquery/jquery.js"></script>
- <script src="../../ui/effect.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
.toggler { width: 500px; height: 200px; position: relative; }
@@ -13,8 +11,8 @@
#effect { width: 240px; height: 170px; padding: 0.4em; position: relative; background: #fff; }
#effect h3 { margin: 0; padding: 0.4em; text-align: center; }
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
var state = true;
$( "#button" ).on( "click", function() {
if ( state ) {
@@ -32,7 +30,6 @@
}
state = !state;
});
- });
</script>
</head>
<body>