diff options
author | James Lal <james@lightsofapollo.com> | 2012-10-10 11:15:33 -0700 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-10-10 11:15:33 -0700 |
commit | ae75f140a6263b78aa096534db68f4b53805c36a (patch) | |
tree | a66a03ea9c18d2ef5981c1d53ec834d7069b5c0e /lib/caldav | |
parent | 13966ebe577c18436332923fb367a3f6ab7b288e (diff) | |
download | jsCalDAV-ae75f140a6263b78aa096534db68f4b53805c36a.tar.gz |
update ical.js for tests add commander.js as dev dep
Diffstat (limited to 'lib/caldav')
-rw-r--r-- | lib/caldav/request/calendar_query.js | 3 | ||||
-rw-r--r-- | lib/caldav/request/resources.js | 2 |
2 files changed, 2 insertions, 3 deletions
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) { |