You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/04/18 00:46:28 UTC

[2/2] docs commit: removed 'gender' from example as it is NOT in the contact object spec

removed 'gender' from example as it is NOT in the contact object spec


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/629529df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/629529df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/629529df

Branch: refs/heads/master
Commit: 629529dfb3a8a5495fe5f5778621643aa66e3b0b
Parents: d227b1b
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Apr 17 15:44:01 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Apr 17 15:44:01 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/cordova/contacts/contacts.create.md |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/629529df/docs/en/edge/cordova/contacts/contacts.create.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/contacts/contacts.create.md b/docs/en/edge/cordova/contacts/contacts.create.md
index ccb9881..0dac24f 100644
--- a/docs/en/edge/cordova/contacts/contacts.create.md
+++ b/docs/en/edge/cordova/contacts/contacts.create.md
@@ -43,8 +43,8 @@ Full Example
         //
         function onDeviceReady() {
 			var myContact = navigator.contacts.create({"displayName": "Test User"});
-			myContact.gender = "male";
-			console.log("The contact, " + myContact.displayName + ", is of the " + myContact.gender + " gender");
+			myContact.note = "This contact has a note.";
+			console.log("The contact, " + myContact.displayName + ", note: " + myContact.note);
         }