aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip/video-player.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-06-30 23:46:05 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:42 -0400
commitb60694ee309a72c44db5e46576f6019ae8c0638f (patch)
tree06249845f9e3e5c54030a81a5ff62d16ce5d8dfc /demos/tooltip/video-player.html
parentd1c0e381857c05d51e6495947aead908df45c634 (diff)
downloadjquery-ui-b60694ee309a72c44db5e46576f6019ae8c0638f.tar.gz
jquery-ui-b60694ee309a72c44db5e46576f6019ae8c0638f.zip
Tooltip: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/tooltip/video-player.html')
-rw-r--r--demos/tooltip/video-player.html14
1 files changed, 2 insertions, 12 deletions
diff --git a/demos/tooltip/video-player.html b/demos/tooltip/video-player.html
index 3d4e467be..cd667e3db 100644
--- a/demos/tooltip/video-player.html
+++ b/demos/tooltip/video-player.html
@@ -4,15 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Tooltip - Video Player demo</title>
<link rel="stylesheet" href="../../themes/base/all.css">
- <script src="../../external/jquery/jquery.js"></script>
- <script src="../../ui/core.js"></script>
- <script src="../../ui/widget.js"></script>
- <script src="../../ui/position.js"></script>
- <script src="../../ui/tooltip.js"></script>
- <script src="../../ui/button.js"></script>
- <script src="../../ui/menu.js"></script>
- <script src="../../ui/effect.js"></script>
- <script src="../../ui/effect-blind.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
.player {
@@ -42,8 +33,8 @@
box-shadow: 2px 2px 5px -2px rgba(0,0,0,0.5);
}
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js" data-modules="button menu effect effect-blind">
function notify( input ) {
var msg = "Selected " + $.trim( input.data( "tooltip-title" ) || input.text() );
$( "<div>" )
@@ -115,7 +106,6 @@
effect: "hide"
}
});
- });
</script>
</head>
<body>