diff options
author | James Lal <james@lightsofapollo.com> | 2013-01-07 18:39:12 +0100 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2013-01-07 18:39:12 +0100 |
commit | 843b96d1822a28cee8eed1776aa37b6322432249 (patch) | |
tree | d39a4be437ce1d0042bca92517ae674d219611b4 /lib/caldav/request/abstract.js | |
parent | 3170505852bbb6379a712ff816e1715f512516ad (diff) | |
download | jsCalDAV-843b96d1822a28cee8eed1776aa37b6322432249.tar.gz |
don't hold onto .xhr in request
Diffstat (limited to 'lib/caldav/request/abstract.js')
-rw-r--r-- | lib/caldav/request/abstract.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/caldav/request/abstract.js b/lib/caldav/request/abstract.js index eb6297b..7116217 100644 --- a/lib/caldav/request/abstract.js +++ b/lib/caldav/request/abstract.js @@ -65,8 +65,7 @@ }; // in the future we may stream data somehow - req.send(function xhrResult() { - var xhr = req.xhr; + req.send(function xhrResult(err, xhr) { if (xhr.status > 199 && xhr.status < 300) { // success self.sax.close(); |