tweaks to tests, updated changelog, last minute changes for 1.4.3

v1.4.x v1.4.3
Adam Shaw 2009-12-22 00:41:38 -08:00
parent 1d571e5329
commit 3343747d38
11 changed files with 30 additions and 10 deletions

View File

@ -1,4 +1,16 @@
version 1.4.3 (12/22/09)
- added destroy method
- Google Calendar event pages respect currentTimezone
- caching now handled by jQuery's ajax
- protection from setting aspectRatio to zero
- bugfixes
- parseISO8601 and DST caused certain events to display day before
- button positioning problem in IE6
- ajax event source removed after recently being added, events still displayed
- event not displayed when end is an empty string
- dynamically setting calendar height when no events have been fetched, throws error
version 1.4.2 (12/02/09)
- eventAfterRender trigger
- getDate & getView methods

View File

@ -99,6 +99,12 @@ jQuery object:
This method is useful in the scenario where a tab setup might hide/show
a calendar. Call this method whenever the calendar's tab is shown.
**destroy** - .fullCalendar(``'destroy'``)
Restores the element to the state before FullCalendar was initialized. Removes elements,
events handlers, and data.
*Available in v1.4.3 and later*
.. _option-getters-setters:

View File

@ -34,7 +34,6 @@
editable: true,
events: "json-events.php",
cache: false,
eventDrop: function(event, delta) {
alert(event.title + ' was moved ' + delta + ' days\n' +

View File

@ -365,7 +365,7 @@ $.fn.fullCalendar = function(options) {
url: src,
dataType: 'json',
data: params,
cache: false,
cache: options.cacheParam || false, // don't let jquery prevent caching if cacheParam is being used
success: reportEventsAndPop
});
}

View File

@ -115,6 +115,7 @@ var parseDate = fc.parseDate = function(s) {
var parseISO8601 = fc.parseISO8601 = function(s, ignoreTimezone) {
// derived from http://delete.me.uk/2005/03/iso8601.html
// TODO: for a know glitch/feature, read tests/issue_206_parseDate_dst.html
var m = s.match(/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})([T ]([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?$/);
if (!m) {
return null;

View File

@ -29,6 +29,9 @@
title: 'Yay Tehran!',
start: '2010-03-21' // should NOT show up on the 20th
//allDay: false // if uncommented, will show 1am
// HOWEVER, when set to 2010-03-21T00:30:00, this ends up being 2010-03-21T01:30:00
// should it be 2010-03-21T01:00:00 instead!!??
}
]
});

View File

@ -3,11 +3,6 @@
<head>
<script type='text/javascript' src='loader.js'></script>
<script type='text/javascript'>
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
var gcalFeed = $.fullCalendar.gcalFeed("http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic");

View File

@ -11,7 +11,7 @@
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay',
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay'
},
defaultView: 'agendaWeek', // month view also looked scrunched
aspectRatio: 0

View File

@ -23,7 +23,7 @@
{
title: 'All Day Event',
start: new Date(y, m, 1),
end: 'h' // shouldn't choke on empty string
end: '' // shouldn't choke on empty string
}
]
});

View File

@ -87,6 +87,10 @@
}
]);
};
//$.ajaxSetup({
// cache: false // should NOT insert an extra _ parameter
//});
$(document).ready(function() {
cal = $('#calendar').fullCalendar({

View File

@ -1 +1 @@
1.4.2
1.4.3