<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -77,7 +77,19 @@ Calendar.prototype = {
 			cssClass : 'jqueryCalendar',
 			// Callback functions
 			addDay      : function() {},
-			addEvent    : this.addEventCallback,
+			addEvent    : function(td, evt) {
+				var elem = typeof evt.url != 'undefined'
+					? $('&lt;a /&gt;').attr('href', evt.url)
+					: $('&lt;span /&gt;');
+				if (evt.id) {
+					elem.attr('id', 'event-' + evt.id);
+				}
+				if (evt.title) {
+					elem.attr('title', evt.title);
+				}
+				elem.text(td.text());
+				td.text('').append(elem).addClass('event');
+			},
 			beforeMove  : function() {},
 			afterMove   : function() {},
 			preloadEvent: function() {}
@@ -350,20 +362,6 @@ Calendar.prototype = {
 				this.option.events = this.preloadEvents[type];
 			}
 		} catch(e) {}
-	},
-
-	addEventCallback: function(td, evt) {
-		var e = typeof evt.url != 'undefined'
-			? $('&lt;a /&gt;').attr('href', evt.url)
-			: $('&lt;span /&gt;');
-		if (evt.id) {
-			e.attr('id', 'event-' + evt.id);
-		}
-		if (evt.title) {
-			e.attr('title', evt.title);
-		}
-		e.text(td.text());
-		td.text('').append(e).addClass('event');
 	}
 };
 </diff>
      <filename>jquery.calendar.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bd1534785700b4f249e59caeb2badd3d8d5bead0</id>
    </parent>
  </parents>
  <author>
    <name>rewish</name>
    <email>rewish.org@gmail.com</email>
  </author>
  <url>http://github.com/rewish/jQuery.calendar/commit/c0f6a864b75322d64847cc66171f7b8bb5d30f79</url>
  <id>c0f6a864b75322d64847cc66171f7b8bb5d30f79</id>
  <committed-date>2009-11-01T23:20:46-08:00</committed-date>
  <authored-date>2009-11-01T23:20:46-08:00</authored-date>
  <message>&#12452;&#12505;&#12531;&#12488;&#36861;&#21152;&#12398;&#12467;&#12540;&#12523;&#12496;&#12483;&#12463;&#38306;&#25968;&#12434;&#12458;&#12503;&#12471;&#12519;&#12531;&#12395;&#30452;&#26360;&#12365;&#12290;</message>
  <tree>0965ce8b75ab2ab38d9e2f7eee4a260cdc852488</tree>
  <committer>
    <name>rewish</name>
    <email>rewish.org@gmail.com</email>
  </committer>
</commit>
