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/responder.js | |
parent | 7a43bc130ad3eb7beb0dc20a495ca178268a2667 (diff) | |
download | jsCalDAV-6857f7674d3937ae0d9d9749e8a2296f5f2b7c30.tar.gz |
replace hasOwnProperty with Object.hasOwnProperty calls
Diffstat (limited to 'lib/caldav/responder.js')
-rw-r--r-- | lib/caldav/responder.js | 2 |
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]); } } |