aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/remote-jsonp.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/remote-jsonp.html')
-rw-r--r--demos/autocomplete/remote-jsonp.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/autocomplete/remote-jsonp.html b/demos/autocomplete/remote-jsonp.html
index 0d71dae9a..3c2f4921f 100644
--- a/demos/autocomplete/remote-jsonp.html
+++ b/demos/autocomplete/remote-jsonp.html
@@ -4,12 +4,6 @@
<meta charset="utf-8">
<title>jQuery UI Autocomplete - Remote JSONP datasource</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/menu.js"></script>
- <script src="../../ui/autocomplete.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
.ui-autocomplete-loading {
@@ -17,8 +11,8 @@
}
#city { width: 25em; }
</style>
- <script>
- $(function() {
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js">
function log( message ) {
$( "<div>" ).text( message ).prependTo( "#log" );
$( "#log" ).scrollTop( 0 );
@@ -44,7 +38,6 @@
log( "Selected: " + ui.item.label );
}
} );
- } );
</script>
</head>
<body>