diff --git a/src/common/View.js b/src/common/View.js index e245acf..7297a48 100644 --- a/src/common/View.js +++ b/src/common/View.js @@ -106,6 +106,18 @@ function View(element, calendar, viewName) { } + // returns all events with a matching propery value + function eventsByProp(property, value) + { + var id, i, len, events = []; + for(id in eventsByID) + for(i=0, len=eventsByID[id].length; i