aboutsummaryrefslogtreecommitdiffstats
path: root/lib/caldav/resources/calendar.js
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-08-08 00:02:25 -0700
committerJames Lal <james@lightsofapollo.com>2012-08-08 00:02:25 -0700
commit6857f7674d3937ae0d9d9749e8a2296f5f2b7c30 (patch)
tree3f4f51c7caa12f2f02cdc94d7e80260fc64385e8 /lib/caldav/resources/calendar.js
parent7a43bc130ad3eb7beb0dc20a495ca178268a2667 (diff)
downloadjsCalDAV-6857f7674d3937ae0d9d9749e8a2296f5f2b7c30.tar.gz
replace hasOwnProperty with Object.hasOwnProperty calls
Diffstat (limited to 'lib/caldav/resources/calendar.js')
-rw-r--r--lib/caldav/resources/calendar.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/caldav/resources/calendar.js b/lib/caldav/resources/calendar.js
index 9bff517..2adf614 100644
--- a/lib/caldav/resources/calendar.js
+++ b/lib/caldav/resources/calendar.js
@@ -34,6 +34,7 @@
'calendar-description': 'description',
'getctag': 'ctag',
+ 'getetag': 'etag',
'getlastmodified': 'lastmodified',
'resourcetype': {
@@ -112,7 +113,7 @@
}
for (key in options) {
- if (options.hasOwnProperty(key)) {
+ if (Object.hasOwnProperty.call(options, key)) {
if (key in this._map) {
descriptor = this._map[key];
value = options[key];