From 7a43bc130ad3eb7beb0dc20a495ca178268a2667 Mon Sep 17 00:00:00 2001 From: James Lal Date: Wed, 1 Aug 2012 10:19:14 -0700 Subject: update ical.js fix 'use strict' errors in workers --- lib/caldav/sax/dav_response.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/caldav/sax') diff --git a/lib/caldav/sax/dav_response.js b/lib/caldav/sax/dav_response.js index caba42f..64bf2dd 100644 --- a/lib/caldav/sax/dav_response.js +++ b/lib/caldav/sax/dav_response.js @@ -76,7 +76,7 @@ var match = data.match(HTTP_STATUS); if (match) { - var handler = this.handler; + handler = this.handler; this.current[this.currentTag[handler.tagField]] = match[1]; } else { this._super.ontext.call(this, data, handler); @@ -87,8 +87,6 @@ var PrivilegeSet = Base.create({ name: 'PrivilegeSet', - name: 'href', - onopentag: function(data) { if (this.currentTag.handler === this.handler) { this.stack.push(this.current); @@ -102,7 +100,6 @@ onclosetag: function(data) { var current = this.currentTag; - var data; if (current.handler === this.handler) { data = this.current; @@ -181,6 +178,7 @@ } handler._super.onopentag.call(this, data, handler); + return null; }, oncomplete: function() { @@ -218,6 +216,7 @@ } handler._super.onopentag.call(this, data, handler._super); + return null; }, oncomplete: function() { -- cgit