|
|
@@ -74,12 +74,10 @@ function EventManager() { // assumed to be a calendar
|
|
|
}
|
|
|
|
|
|
|
|
|
- t.getPrunedEventCache = function() {
|
|
|
- return prunedCache;
|
|
|
- };
|
|
|
-
|
|
|
-
|
|
|
function filterEventsWithinRange(events) {
|
|
|
+ return events;
|
|
|
+ //return Array.prototype.slice.call(events);
|
|
|
+
|
|
|
var filteredEvents = [];
|
|
|
var i, event;
|
|
|
|
|
|
@@ -98,6 +96,16 @@ function EventManager() { // assumed to be a calendar
|
|
|
}
|
|
|
|
|
|
|
|
|
+ t.getEventCache = function() {
|
|
|
+ return cache;
|
|
|
+ };
|
|
|
+
|
|
|
+
|
|
|
+ t.getPrunedEventCache = function() {
|
|
|
+ return prunedCache;
|
|
|
+ };
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/* Fetching
|
|
|
-----------------------------------------------------------------------------*/
|
|
|
@@ -1095,11 +1103,6 @@ function EventManager() { // assumed to be a calendar
|
|
|
};
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- t.getEventCache = function() {
|
|
|
- return cache;
|
|
|
- };
|
|
|
-
|
|
|
}
|
|
|
|
|
|
|