Skip to content

Commit

Permalink
Calendar: Clean up demos.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel authored and scottgonzalez committed Jan 29, 2015
1 parent 9d423e5 commit 33b1820
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 38 deletions.
2 changes: 1 addition & 1 deletion demos/calendar/buttonbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$(function() {
$( "#calendar" ).calendar({
buttons: {
"Today": function() {
Today: function() {
$( this ).calendar( "valueAsDate", new Date() );
}
}
Expand Down
3 changes: 1 addition & 2 deletions demos/calendar/localization.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

Globalize.locale( select.val() );
calendar.calendar();

select.change( function() {
Globalize.locale( $( this ).val() );
calendar.calendar( "valueAsDate", calendar.calendar( "valueAsDate" ) );
Expand All @@ -38,7 +37,7 @@
</select>

<div class="demo-description">
<p>Localize the calendar calendar language and format (English / Western formatting is the default). The calendar includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.</p>
<p>Localize the calendar language and format (English / Western formatting is the default). The calendar includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.</p>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion demos/calendar/min-max.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div id="calendar"></div>

<div class="demo-description">
<p>Restrict the range of selectable dates with the <code>min</code> and <code>max</code> options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)).</p>
<p>Restrict the range of selectable dates with the <code>min</code> and <code>max</code> options. Set the beginning and end dates as actual dates (<code>new Date(2009, 1 - 1, 26)</code>).</p>
</div>
</body>
</html>
34 changes: 0 additions & 34 deletions demos/calendar/multiple-calendars.html

This file was deleted.

0 comments on commit 33b1820

Please sign in to comment.