aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/animate.html
diff options
context:
space:
mode:
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>