2009/dap/contacts Overview.html,1.149,1.150

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' } ); 
     }
   &lt;/script&gt;
   </pre>

Received on Tuesday, 19 July 2011 12:05:48 UTC