From 669345b921f26928102a2a6a093e9888cfbf391b Mon Sep 17 00:00:00 2001 From: James Lal Date: Wed, 10 Oct 2012 12:26:40 -0700 Subject: browser build --- caldav.js | 2 -- lib/caldav/request/calendar_query.js | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/caldav.js b/caldav.js index 3c13c54..82528fb 100644 --- a/caldav.js +++ b/caldav.js @@ -3116,9 +3116,7 @@ function write (chunk) { for (url in root) { collection = root[url]; - resources = collection.resourcetype; - if (resources.value.forEach) { resources.value.forEach(function(type) { diff --git a/lib/caldav/request/calendar_query.js b/lib/caldav/request/calendar_query.js index 8e5155f..0d48788 100644 --- a/lib/caldav/request/calendar_query.js +++ b/lib/caldav/request/calendar_query.js @@ -50,8 +50,7 @@ content += this.filter.toString(); } - var out = this.template.render(content); - return out; + return this.template.render(content); } }; -- cgit