Comparing version 1.1.7 to 1.1.8
@@ -110,3 +110,3 @@ // Generated by CoffeeScript 1.8.0 | ||
VComponent.prototype._toStringFields = function(buf) { | ||
var field, _i, _len, _ref1, _results; | ||
var details, field, _i, _len, _ref1, _results; | ||
_ref1 = this.rawFields; | ||
@@ -116,4 +116,10 @@ _results = []; | ||
field = _ref1[_i]; | ||
details = ""; | ||
if (typeof field.details === 'string' && field.details.length > 0) { | ||
details += field.details; | ||
} else if (field.details instanceof Array && field.details.length > 0) { | ||
details += ';' + field.details.join(';'); | ||
} | ||
if (field.value != null) { | ||
_results.push(buf.addLine("" + field.key + ":" + field.value)); | ||
_results.push(buf.addLine("" + field.key + details + ":" + field.value)); | ||
} else { | ||
@@ -359,3 +365,3 @@ _results.push(void 0); | ||
fieldValue = "mailto:" + attendee.email; | ||
this.addRawField("ATTENDEE" + details, fieldValue, details); | ||
this.addRawField("ATTENDEE", fieldValue, details); | ||
} | ||
@@ -362,0 +368,0 @@ } |
{ | ||
"name": "cozy-ical", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Cozy-Ical provides ICal Parser, generators and helpers", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63852
18
1177