- From: Richard Tibbett via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 19 Jan 2010 18:28:10 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/contacts In directory hutz:/tmp/cvs-serv3683 Modified Files: Overview.html Log Message: - Removed PutForwards following discussion on list: http://lists.w3.org/Archives/Public/public-device-apis/2010Jan/0158.html - Fixed examples Index: Overview.html =================================================================== RCS file: /sources/public/2009/dap/contacts/Overview.html,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- Overview.html 19 Jan 2010 17:22:27 -0000 1.26 +++ Overview.html 19 Jan 2010 18:28:08 -0000 1.27 @@ -52,7 +52,7 @@ </p> <pre class='example sh_javascript_dom'>function successContactFindCallback(contacts) { // do something with resulting contact objects - // for (var i in contacts) alert(contacts[i].name); + // for (var contact in contacts) alert(contact.name); // ... } @@ -85,8 +85,9 @@ </p> <pre class='example sh_javascript_dom'>// previous example follow-on... -function successContactCallback(updatedContact) { +function successContactCallback(contact) { // do something with resulting contact object + // alert(contact.name); // ... } @@ -454,9 +455,6 @@ <section> <h2><a>ContactProperties</a> interface</h2> - <p class='note'> - [PutForwards] are included for information but no group consensus yet on whether it should be included <a href="http://lists.w3.org/Archives/Public/public-device-apis/2009Dec/0281.html">[mail]</a>. Do these attributes need to be readonly as defined in the latest <a href="http://www.w3.org/TR/WebIDL/#PutForwards">W3C WebIDL</a> working draft? - </p> <p> The <a href="#contactproperties-interface"><code>ContactProperties</code></a> interface captures the settable properties of a contact. @@ -490,7 +488,7 @@ <pre class="example sh_javascript">{nicknames: ['jim', 'jimmie']}</pre> </dd> <dt> - [PutForwards=value] attribute ContactField[] phones + attribute ContactField[] phones </dt> <dd> <p>One or more telephone numbers associated with the contact.</p> @@ -505,7 +503,7 @@ {types: ['work'], value: '+442088450343'}] }</pre> </dd> <dt> - [PutForwards=value] attribute ContactField[] emails + attribute ContactField[] emails </dt> <dd> <p>One or more email addresses associated with the contact.</p> @@ -519,7 +517,7 @@ {types: ['home', 'mobile'], value: 'jquinlan@mail.com'}]}</pre> </dd> <dt> - [PutForwards=additionalInformation] attribute ContactAddress[] addresses + attribute ContactAddress[] addresses </dt> <dd> <p class='note'>
Received on Tuesday, 19 January 2010 18:28:12 UTC