aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/easing.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/easing.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/easing.html')
-rw-r--r--demos/effect/easing.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/effect/easing.html b/demos/effect/easing.html
index 26d0a96b5..5985dc699 100644
--- a/demos/effect/easing.html
+++ b/demos/effect/easing.html
@@ -4,8 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Effects - Easing 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>
.graph {
@@ -13,8 +11,8 @@
margin-left: 10px;
}
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
if ( !$( "<canvas>" )[0].getContext ) {
$( "<div>" ).text(
"Your browser doesn't support canvas, which is required for this demo."
@@ -88,7 +86,6 @@
graph.width( width ).height( height + text.height() + 10 );
});
- });
</script>
</head>
<body>