diff options
Diffstat (limited to 'demos/resizable/snap-to-grid.html')
-rw-r--r-- | demos/resizable/snap-to-grid.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/resizable/snap-to-grid.html b/demos/resizable/snap-to-grid.html index 6e13ae618..ce897a98e 100644 --- a/demos/resizable/snap-to-grid.html +++ b/demos/resizable/snap-to-grid.html @@ -4,22 +4,16 @@ <meta charset="utf-8"> <title>jQuery UI Resizable - Snap to 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/resizable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #resizable { width: 150px; height: 150px; padding: 0.5em; } #resizable h3 { text-align: center; margin: 0; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> $( "#resizable" ).resizable({ grid: 50 }); - }); </script> </head> <body> |