- From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 19 Jul 2011 12:05:44 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/contacts
In directory hutz:/tmp/cvs-serv25824/contacts
Modified Files:
Overview.html
Log Message:
fixed examples as well
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/contacts/Overview.html,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- Overview.html 19 Jul 2011 12:04:12 -0000 1.149
+++ Overview.html 19 Jul 2011 12:05:42 -0000 1.150
@@ -165,7 +165,6 @@
// Perform an address book search. Obtain the 'name' and 'emails' properties
// and initially filter the list to Contact records containing 'Bob':
navigator.contacts.find( ['name', 'emails'], success, error, {filter: 'Bob'} );
- // ..is equivalent to: navigator.contacts(/* parameters */)
</pre>
</section>
@@ -1330,11 +1329,10 @@
function getContacts() {
// Perform an address book search. Obtain the 'name' and 'emails' properties
// and initially filter the list to Contact records containing 'Bob':
- navigator.contacts( ['name', 'emails'],
- successContactFindCallback,
- generalErrorCB,
- { filter: 'Bob' } );
- // is equivalent to: navigator.contacts.find(/* parameters */);
+ navigator.contacts.find( ['name', 'emails'],
+ successContactFindCallback,
+ generalErrorCB,
+ { filter: 'Bob' } );
}
</script>
</pre>
Received on Tuesday, 19 July 2011 12:05:48 UTC