build/ical.js
function(name, value) {
      var prop = new ICAL.Property(name);
      prop.setValue(value);

      this.addProperty(prop);

      return prop;
    }
function(name, value) {
      var prop = new ICAL.Property(name);
      prop.setValue(value);

      this.addProperty(prop);

      return prop;
    }
function ( name , value ) { var prop = new ICAL . Property ( name ) ; prop . setValue ( value ) ; this . addProperty ( prop ) ; return prop ; }
Helper method to add a property with a value to the component.

@param {String}               name         Property name to add
@param {String|Number|Object} value        Property value
@return {ICAL.Property}                    The created property
Helper method to add a property with a value to the component .