Skip to content
Permalink
Browse files

Selectable: Update demos to use AMD

Ref #10119
  • Loading branch information...
arschmitz committed Jul 1, 2015
1 parent 4ea6f8f commit 91ee61e78043581fcf5fbcfe105603b6279d3724
Showing with 6 additions and 24 deletions.
  1. +2 −8 demos/selectable/default.html
  2. +2 −8 demos/selectable/display-grid.html
  3. +2 −8 demos/selectable/serialize.html
@@ -4,11 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Selectable - Default functionality</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/mouse.js"></script>
<script src="../../ui/selectable.js"></script>
<link rel="stylesheet" href="../demos.css">

<style>
@@ -18,10 +13,9 @@
#selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
#selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
</style>
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( "#selectable" ).selectable();
});
</script>
</head>
<body>
@@ -4,11 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Selectable - Display as grid</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/mouse.js"></script>
<script src="../../ui/selectable.js"></script>
<link rel="stylesheet" href="../demos.css">

<style>
@@ -18,10 +13,9 @@
#selectable { list-style-type: none; margin: 0; padding: 0; width: 450px; }
#selectable li { margin: 3px; padding: 1px; float: left; width: 100px; height: 80px; font-size: 4em; text-align: center; }
</style>
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( "#selectable" ).selectable();
});
</script>
</head>
<body>
@@ -4,11 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Selectable - Serialize</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/mouse.js"></script>
<script src="../../ui/selectable.js"></script>
<link rel="stylesheet" href="../demos.css">

<style>
@@ -18,8 +13,8 @@
#selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
#selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
</style>
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
$( "#selectable" ).selectable({
stop: function() {
var result = $( "#select-result" ).empty();
@@ -29,7 +24,6 @@
});
}
});
});
</script>
</head>
<body>

0 comments on commit 91ee61e

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.