diff options
author | James Lal <james@lightsofapollo.com> | 2012-08-08 00:02:25 -0700 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-08-08 00:02:25 -0700 |
commit | 6857f7674d3937ae0d9d9749e8a2296f5f2b7c30 (patch) | |
tree | 3f4f51c7caa12f2f02cdc94d7e80260fc64385e8 /lib/caldav/sax | |
parent | 7a43bc130ad3eb7beb0dc20a495ca178268a2667 (diff) | |
download | jsCalDAV-6857f7674d3937ae0d9d9749e8a2296f5f2b7c30.tar.gz |
replace hasOwnProperty with Object.hasOwnProperty calls
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] |