aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-10-10 11:15:33 -0700
committerJames Lal <james@lightsofapollo.com>2012-10-10 11:15:33 -0700
commitae75f140a6263b78aa096534db68f4b53805c36a (patch)
treea66a03ea9c18d2ef5981c1d53ec834d7069b5c0e /lib
parent13966ebe577c18436332923fb367a3f6ab7b288e (diff)
downloadjsCalDAV-ae75f140a6263b78aa096534db68f4b53805c36a.tar.gz
update ical.js for tests add commander.js as dev dep
Diffstat (limited to 'lib')
-rw-r--r--lib/caldav/request/calendar_query.js3
-rw-r--r--lib/caldav/request/resources.js2
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) {