aboutsummaryrefslogtreecommitdiffstats
path: root/lib/caldav/responder.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/caldav/responder.js')
-rw-r--r--lib/caldav/responder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/caldav/responder.js b/lib/caldav/responder.js
index 6ba41c4..ae1cf16 100644
--- a/lib/caldav/responder.js
+++ b/lib/caldav/responder.js
@@ -90,7 +90,7 @@
if (typeof(callback) === 'undefined' && typeof(type) === 'object') {
for (event in type) {
- if (type.hasOwnProperty(event)) {
+ if (Object.hasOwnProperty.call(type, event)) {
this.addEventListener(event, type[event]);
}
}