diff options
Diffstat (limited to 'lib/caldav/sax/dav_response.js')
-rw-r--r-- | lib/caldav/sax/dav_response.js | 3 |
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); } }); |