aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-10-10 12:26:40 -0700
committerJames Lal <james@lightsofapollo.com>2012-10-10 12:26:40 -0700
commit669345b921f26928102a2a6a093e9888cfbf391b (patch)
treef3055b0039351539b7044c8d6334a05828091fe1
parent84c07224a04189d42abbcd2dbfaf541fa53a90ff (diff)
downloadjsCalDAV-669345b921f26928102a2a6a093e9888cfbf391b.tar.gz
browser build
-rw-r--r--caldav.js2
-rw-r--r--lib/caldav/request/calendar_query.js3
2 files changed, 1 insertions, 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);
}
};