Commit f9977b19 authored by Peter Jaszkowiak's avatar Peter Jaszkowiak
Browse files

Just some formatting changes

parent 81b9dea8
......@@ -225,7 +225,7 @@ var ICalEvent = function(_data) {
data.repeating.until = repeating.until;
}
if(repeating.byday){
if(repeating.byday) {
if(!Array.isArray(repeating.byday)){
throw '`repeating.byday` must be an Array of day symbols!';
}
......@@ -531,7 +531,7 @@ var ICalEvent = function(_data) {
}
if(data.repeating.byday) {
g += ';BYDAY=' + data.repeating.byday.join(",");
g += ';BYDAY=' + data.repeating.byday.join(',');
}
g += '\r\n';
......
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