Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
lib-ical
Commits
e1c1e903
Unverified
Commit
e1c1e903
authored
Sep 10, 2016
by
Mark Stenglein
Browse files
Fix logic error
- Should be a not on line 356 of event.js
parent
f8a03b47
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/event.js
View file @
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
+
'
`!
'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment