lib/property.js
function() {

    var params = Object.assign({},this)

    if( params.value === 'text' ) {
      params.value = void 0
      delete params.value
    }

    var data = [ this._field, params, this.value || 'text' ]

    switch( this._field ) {
      default: data.push( this._data ); break
      case 'adr':
      case 'n':
        data.push( this._data.split( ';' ) )
    }

    return data

  }
function() {

    var params = Object.assign({},this)

    if( params.value === 'text' ) {
      params.value = void 0
      delete params.value
    }

    var data = [ this._field, params, this.value || 'text' ]

    switch( this._field ) {
      default: data.push( this._data ); break
      case 'adr':
      case 'n':
        data.push( this._data.split( ';' ) )
    }

    return data

  }
function ( ) { var params = Object . assign ( { } , this ) if ( params . value === 'text' ) { params . value = void 0 delete params . value } var data = [ this . _field , params , this . value || 'text' ] switch ( this . _field ) { default : data . push ( this . _data ) ; break case 'adr' : case 'n' : data . push ( this . _data . split ( ';' ) ) } return data }
Format the property as jCard data
@return {Array}
Format the property as jCard data