Unverified Commit 8fd5f303 authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Fix jslint issue

- Yeah, that was a confusing use of `!`
parent e1c1e903
......@@ -353,7 +353,7 @@ var ICalEvent = function(_data, calendar) {
data.repeating.exclude = [];
repeating.exclude.forEach(function(excludedDate) {
if(!(Object.prototype.toString.call(excludedDate) === '[object Date]')) {
if(Object.prototype.toString.call(excludedDate) !== '[object Date]') {
throw '`repeating.exclude` contains invalid value `' + excludedDate + '`!';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment