aboutsummaryrefslogtreecommitdiffstats
path: root/lib/webcals
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webcals')
-rw-r--r--lib/webcals/ical.js2
-rw-r--r--lib/webcals/request/propfind.js2
-rw-r--r--lib/webcals/sax.js4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/webcals/ical.js b/lib/webcals/ical.js
index 45cef83..797e40b 100644
--- a/lib/webcals/ical.js
+++ b/lib/webcals/ical.js
@@ -133,7 +133,7 @@
}.apply(
this,
(this.Webcals) ?
- [Webcals('ics'), Webcals] :
+ [Webcals('ical'), Webcals] :
[module, require('./webcals')]
));
diff --git a/lib/webcals/request/propfind.js b/lib/webcals/request/propfind.js
index e5f6f26..a4edd16 100644
--- a/lib/webcals/request/propfind.js
+++ b/lib/webcals/request/propfind.js
@@ -64,6 +64,6 @@
}.apply(
this,
(this.Webcals) ?
- [Webcals('request/abstract'), Webcals] :
+ [Webcals('request/propfind'), Webcals] :
[module, require('../webcals')]
));
diff --git a/lib/webcals/sax.js b/lib/webcals/sax.js
index d6f7592..8a24ecf 100644
--- a/lib/webcals/sax.js
+++ b/lib/webcals/sax.js
@@ -2,7 +2,7 @@
var Responder = ns.require('responder');
- if (typeof(sax) === 'undefined') {
+ if (typeof(window) === 'undefined') {
Parser.sax = require('sax');
} else {
Parser.sax = sax;
@@ -215,6 +215,6 @@
}.apply(
this,
(this.Webcals) ?
- [Webcals('xml_parser'), Webcals] :
+ [Webcals('sax'), Webcals] :
[module, require('./webcals')]
));