diff options
Diffstat (limited to 'demos/widget')
-rw-r--r-- | demos/widget/default.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/widget/default.html b/demos/widget/default.html index 62a373114..e545ef6ad 100644 --- a/demos/widget/default.html +++ b/demos/widget/default.html @@ -4,11 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Widget - 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/position.js"></script> - <script src="../../ui/widget.js"></script> - <script src="../../ui/button.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .custom-colorize { @@ -24,8 +19,8 @@ bottom: 0; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="button"> // the widget definition, where "custom" is the namespace, // "colorize" the widget name $.widget( "custom.colorize", { @@ -157,7 +152,6 @@ blue: 8 }); }); - }); </script> </head> <body> |