Skip to content

Commit 33b1820

Browse files
fnagelscottgonzalez
authored andcommitted
Calendar: Clean up demos.
1 parent 9d423e5 commit 33b1820

File tree

4 files changed

+3
-38
lines changed

4 files changed

+3
-38
lines changed

demos/calendar/buttonbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
$(function() {
1919
$( "#calendar" ).calendar({
2020
buttons: {
21-
"Today": function() {
21+
Today: function() {
2222
$( this ).calendar( "valueAsDate", new Date() );
2323
}
2424
}

demos/calendar/localization.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
Globalize.locale( select.val() );
2323
calendar.calendar();
24-
2524
select.change( function() {
2625
Globalize.locale( $( this ).val() );
2726
calendar.calendar( "valueAsDate", calendar.calendar( "valueAsDate" ) );
@@ -38,7 +37,7 @@
3837
</select>
3938

4039
<div class="demo-description">
41-
<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>
40+
<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>
4241
</div>
4342
</body>
4443
</html>

demos/calendar/min-max.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<div id="calendar"></div>
3333

3434
<div class="demo-description">
35-
<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>
35+
<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>
3636
</div>
3737
</body>
3838
</html>

demos/calendar/multiple-calendars.html

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)