Shingo Toda created CB-4636:
-------------------------------

             Summary: Constructor of Contact should be documented.
                 Key: CB-4636
                 URL: https://issues.apache.org/jira/browse/CB-4636
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Docs
    Affects Versions: 2.9.0
            Reporter: Shingo Toda
            Assignee: Michael Brooks
            Priority: Minor


Constructor method of Contact is not documented but is exposed in user code. It 
should be documented, which will help users a lot.

{code}
/**
* Contains information about a single contact.
* @constructor
* @param {DOMString} id unique identifier
* @param {DOMString} displayName
* @param {ContactName} name
* @param {DOMString} nickname
* @param {Array.<ContactField>} phoneNumbers array of phone numbers
* @param {Array.<ContactField>} emails array of email addresses
* @param {Array.<ContactAddress>} addresses array of addresses
* @param {Array.<ContactField>} ims instant messaging user ids
* @param {Array.<ContactOrganization>} organizations
* @param {DOMString} birthday contact's birthday
* @param {DOMString} note user notes about contact
* @param {Array.<ContactField>} photos
* @param {Array.<ContactField>} categories
* @param {Array.<ContactField>} urls contact's web sites
*/

var Contact = function (id, displayName, name, nickname, phoneNumbers, emails, 
addresses,
    ims, organizations, birthday, note, photos, categories, urls) 
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to