diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-06-30 22:11:05 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-21 11:00:41 -0400 |
commit | df37d7d505edc429f4238f105e61ff3644a17b8b (patch) | |
tree | 3da59b9013c8203b14036eb12a7bded6fbbcc840 /demos/progressbar/download.html | |
parent | febd120d75d2acb61906949dcd41ffd760585472 (diff) | |
download | jquery-ui-df37d7d505edc429f4238f105e61ff3644a17b8b.tar.gz jquery-ui-df37d7d505edc429f4238f105e61ff3644a17b8b.zip |
Progressbar: Update demos to use AMD
Ref #10119
Diffstat (limited to 'demos/progressbar/download.html')
-rw-r--r-- | demos/progressbar/download.html | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/demos/progressbar/download.html b/demos/progressbar/download.html index 1253176a4..a7731b387 100644 --- a/demos/progressbar/download.html +++ b/demos/progressbar/download.html @@ -4,18 +4,9 @@ <meta charset="utf-8"> <title>jQuery UI Progressbar - Download Dialog</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/progressbar.js"></script> - <script src="../../ui/mouse.js"></script> - <script src="../../ui/draggable.js"></script> - <script src="../../ui/button.js"></script> - <script src="../../ui/position.js"></script> - <script src="../../ui/dialog.js"></script> <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="dialog"> var progressTimer, progressbar = $( "#progressbar" ), progressLabel = $( ".progress-label" ), @@ -83,7 +74,6 @@ .text( "Starting download..." ); downloadButton.trigger( "focus" ); } - }); </script> <style> #progressbar { |