mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker: Use Globalize 1.0.0
- Make all demos work - Fix calendar localization demo - Fix merge errors
This commit is contained in:
parent
8732ff7a8c
commit
76c74e5cfb
@ -4,15 +4,18 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Display button bar</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -4,15 +4,18 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Default functionality</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -4,15 +4,18 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Display month & year menus</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -4,25 +4,32 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Localize calendar</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
var calendar = $( "#calendar" ),
|
||||
select = $( "#locale" );
|
||||
|
||||
Globalize.locale( select.val() );
|
||||
calendar.calendar();
|
||||
calendar.calendar({
|
||||
locale: select.val()
|
||||
});
|
||||
|
||||
select.change( function() {
|
||||
Globalize.locale( $( this ).val() );
|
||||
calendar.calendar( "option", {
|
||||
locale: select.val()
|
||||
});
|
||||
calendar.calendar( "valueAsDate", calendar.calendar( "valueAsDate" ) );
|
||||
});
|
||||
});
|
||||
@ -32,8 +39,11 @@
|
||||
|
||||
<div id="calendar"></div>
|
||||
<select id="locale">
|
||||
<option value="de-DE" selected>German (Deutsch)</option>
|
||||
<option value="ar">Arabic</option>
|
||||
<option value="de" selected>German</option>
|
||||
<option value="en">English</option>
|
||||
<option value="es">Spanish</option>
|
||||
<option value="zh">Chinese Simplified</option>
|
||||
</select>
|
||||
|
||||
<div class="demo-description">
|
||||
|
@ -4,15 +4,18 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Restrict date range</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -4,15 +4,18 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Display multiple months</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -4,15 +4,18 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Dates in other months</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -4,15 +4,18 @@
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery UI Calendar - Show week of the year</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<script src="../../external/cldrjs/cldr.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/supplemental.js"></script>
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -9,10 +9,9 @@
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/date.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/message.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/effect.js"></script>
|
||||
|
@ -9,15 +9,14 @@
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/date.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/message.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<script src="../../ui/datepicker.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
|
@ -9,15 +9,14 @@
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/date.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/message.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<script src="../../ui/datepicker.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script>
|
||||
|
@ -9,14 +9,13 @@
|
||||
<script src="../../external/cldrjs/cldr/event.js"></script>
|
||||
<script src="../../external/jquery/jquery.js"></script>
|
||||
<script src="../../external/globalize/globalize.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/date.js"></script>
|
||||
+ <script src="../../external/globalize/globalize/message.js"></script>
|
||||
<script src="../../external/globalize/globalize/date.js"></script>
|
||||
<script src="../../external/localization.js"></script>
|
||||
<script src="../../external/date.js"></script>
|
||||
<script src="../../ui/calendar/date.js"></script>
|
||||
<script src="../../ui/core.js"></script>
|
||||
<script src="../../ui/widget.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/button.js"></script>
|
||||
<script src="../../ui/calendar.js"></script>
|
||||
<script src="../../ui/position.js"></script>
|
||||
<script src="../../ui/datepicker.js"></script>
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
|
Loading…
Reference in New Issue
Block a user