diff options
author | James Lal <james@lightsofapollo.com> | 2012-08-01 10:19:14 -0700 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-08-01 10:19:14 -0700 |
commit | 7a43bc130ad3eb7beb0dc20a495ca178268a2667 (patch) | |
tree | 258cfef35770b30d4f62213264cffa838afdbc3b /lib/caldav/request | |
parent | 1634e5e1ab44eed2881b301905ae7be4353a36d4 (diff) | |
download | jsCalDAV-7a43bc130ad3eb7beb0dc20a495ca178268a2667.tar.gz |
update ical.js fix 'use strict' errors in workers
Diffstat (limited to 'lib/caldav/request')
-rw-r--r-- | lib/caldav/request/calendar_home.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/caldav/request/calendar_home.js b/lib/caldav/request/calendar_home.js index f4f80ac..7d4c744 100644 --- a/lib/caldav/request/calendar_home.js +++ b/lib/caldav/request/calendar_home.js @@ -62,7 +62,8 @@ var principal; if (err) { - return callback(err); + callback(err); + return; } principal = findProperty('current-user-principal', data, true); @@ -85,7 +86,8 @@ find.send(function(err, data) { if (err) { - return callback(err); + callback(err); + return; } details = { @@ -107,7 +109,8 @@ self._findPrincipal(self.url, function(err, url) { if (!url) { - return callback(new Error('Cannot resolve principal url')); + callback(new Error('Cannot resolve principal url')); + return; } self._findCalendarHome(url, function(err, details) { |