diff options
Diffstat (limited to 'lib/caldav/sax')
-rw-r--r-- | lib/caldav/sax/base.js | 2 | ||||
-rw-r--r-- | lib/caldav/sax/dav_response.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/caldav/sax/base.js b/lib/caldav/sax/base.js index a823aad..3672af3 100644 --- a/lib/caldav/sax/base.js +++ b/lib/caldav/sax/base.js @@ -21,7 +21,7 @@ child._super = this; for (key in obj) { - if (obj.hasOwnProperty(key)) { + if (Object.hasOwnProperty.call(obj, key)) { child[key] = obj[key]; } } diff --git a/lib/caldav/sax/dav_response.js b/lib/caldav/sax/dav_response.js index 64bf2dd..7256ce6 100644 --- a/lib/caldav/sax/dav_response.js +++ b/lib/caldav/sax/dav_response.js @@ -192,7 +192,7 @@ delete this.current.prop; for (key in props) { - if (props.hasOwnProperty(key)) { + if (Object.hasOwnProperty.call(props, key)) { propstat[key] = { status: status, value: props[key] |