From ae75f140a6263b78aa096534db68f4b53805c36a Mon Sep 17 00:00:00 2001 From: James Lal Date: Wed, 10 Oct 2012 11:15:33 -0700 Subject: update ical.js for tests add commander.js as dev dep --- lib/caldav/request/calendar_query.js | 3 ++- lib/caldav/request/resources.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/caldav/request/calendar_query.js b/lib/caldav/request/calendar_query.js index 0d48788..8e5155f 100644 --- a/lib/caldav/request/calendar_query.js +++ b/lib/caldav/request/calendar_query.js @@ -50,7 +50,8 @@ content += this.filter.toString(); } - return this.template.render(content); + var out = this.template.render(content); + return out; } }; diff --git a/lib/caldav/request/resources.js b/lib/caldav/request/resources.js index fbba186..79eec2c 100644 --- a/lib/caldav/request/resources.js +++ b/lib/caldav/request/resources.js @@ -29,9 +29,7 @@ for (url in root) { collection = root[url]; - resources = collection.resourcetype; - if (resources.value.forEach) { resources.value.forEach(function(type) { -- cgit