diff options
Diffstat (limited to 'demos/datepicker/localization.html')
-rw-r--r-- | demos/datepicker/localization.html | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 72933f011..b3d6ccf6f 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -4,23 +4,14 @@ <meta charset="utf-8"> <title>jQuery UI Datepicker - Localize calendar</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/datepicker.js"></script> - <script src="datepicker-ar.js"></script> - <script src="datepicker-fr.js"></script> - <script src="datepicker-he.js"></script> - <script src="datepicker-zh-TW.js"></script> <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js" data-modules="datepicker-ar.js datepicker-fr.js datepicker-he.js datepicker-zh-TW.js"> $( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] ); $( "#locale" ).on( "change", function() { $( "#datepicker" ).datepicker( "option", $.datepicker.regional[ $( this ).val() ] ); }); - }); </script> </head> <body> |