diff --git a/README b/README deleted file mode 100644 index f50bbb8..0000000 --- a/README +++ /dev/null @@ -1,4 +0,0 @@ -Example: -jQuery(document).ready(function($) { - $(expr).calendar(); -}); diff --git a/README.md b/README.md new file mode 100644 index 0000000..2f41a3f --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +## Overview + +jQuery Simple Calendar Plugin + +## Example + +```javascript +jQuery(function($) { + $('#calendar').calendar(); +}); +``` diff --git a/jquery.calendar.js b/jquery.calendar.js index 4fce6a4..1e0205c 100644 --- a/jquery.calendar.js +++ b/jquery.calendar.js @@ -1,7 +1,7 @@ /** * jQuery.calendar * - * @version 1.0.3 + * @version 1.0.4 * @author rew * @link http://rewish.org/javascript/jquery_calendar * @license http://rewish.org/license/mit The MIT License @@ -130,7 +130,7 @@ Calendar.prototype = $.extend({ var week = []; var weekName = this.option.week[this.option.lang] || this.option.week; for (var i = 0, w; w = weekName[i]; i++) { - week[week.length] = ''+ w +''; + week[week.length] = ''+ w +''; } this.thead = $('').append(this.tr.clone().html(week.join(''))) // tbody