aboutsummaryrefslogtreecommitdiffstats
path: root/lib/caldav/sax
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-07-26 08:00:25 -0700
committerJames Lal <james@lightsofapollo.com>2012-07-26 08:00:25 -0700
commit0ca56ee8c47a580d33881ea05a5975e507131172 (patch)
tree89659313b2e8c1c5cd04257f7f8bf2d63a7ae339 /lib/caldav/sax
parent55aa47aab5bba0126d33ff44fa0dbf7472a2d91a (diff)
downloadjsCalDAV-0ca56ee8c47a580d33881ea05a5975e507131172.tar.gz
ical.js
Diffstat (limited to 'lib/caldav/sax')
-rw-r--r--lib/caldav/sax/dav_response.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/caldav/sax/dav_response.js b/lib/caldav/sax/dav_response.js
index dddd40b..0c6c1a0 100644
--- a/lib/caldav/sax/dav_response.js
+++ b/lib/caldav/sax/dav_response.js
@@ -3,7 +3,6 @@
var HTTP_STATUS = /([0-9]{3,3})/;
var Base = ns.require('sax/base');
- var ParseICal = ns.require('ical');
var TextHandler = Base.create({
name: 'text',
@@ -35,7 +34,7 @@
//and value is the text.
ontext: function(data) {
var handler = this.handler;
- this.current[this.currentTag[handler.tagField]] = ParseICal(data);
+ this.current[this.currentTag[handler.tagField]] = ICAL.parse(data);
}
});