diff options
Diffstat (limited to 'demos/effect/addClass.html')
-rw-r--r-- | demos/effect/addClass.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/effect/addClass.html b/demos/effect/addClass.html index 915a72f2d..09de61312 100644 --- a/demos/effect/addClass.html +++ b/demos/effect/addClass.html @@ -4,8 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Effects - addClass 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; padding: 1em; border: 1px solid #000; background: #eee; color: #333; } .newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 120px; padding: 30px; margin: 10px; font-size: 1.1em; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> $( "#button" ).on( "click", function() { $( "#effect" ).addClass( "newClass", 1000, callback ); }); @@ -24,7 +22,6 @@ $( "#effect" ).removeClass( "newClass" ); }, 1500 ); } - }); </script> </head> <body> |