Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 899F31188E for ; Tue, 22 Apr 2014 00:17:46 +0000 (UTC) Received: (qmail 46557 invoked by uid 500); 22 Apr 2014 00:17:46 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 46531 invoked by uid 500); 22 Apr 2014 00:17:46 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 46524 invoked by uid 99); 22 Apr 2014 00:17:45 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 00:17:45 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A0ADD839107; Tue, 22 Apr 2014 00:17:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Message-Id: <1b09bf3c069e4dcda8976c004f497fef@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Docs typo: navigator.contacts.length -> contacts.length Date: Tue, 22 Apr 2014 00:17:45 +0000 (UTC) Repository: cordova-plugin-contacts Updated Branches: refs/heads/dev e7d7d27ae -> 55ba3f258 Docs typo: navigator.contacts.length -> contacts.length Signed-off-by: Shazron Abdullah Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/55ba3f25 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/55ba3f25 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/55ba3f25 Branch: refs/heads/dev Commit: 55ba3f2580d2c3bbd1662f49d89043710446220a Parents: e7d7d27 Author: huang.xinghui Authored: Thu Apr 10 14:53:33 2014 +0800 Committer: Shazron Abdullah Committed: Mon Apr 21 17:15:41 2014 -0700 ---------------------------------------------------------------------- doc/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/55ba3f25/doc/index.md ---------------------------------------------------------------------- diff --git a/doc/index.md b/doc/index.md index f21e907..83f5a30 100644 --- a/doc/index.md +++ b/doc/index.md @@ -353,7 +353,7 @@ a `ContactAddress[]` array. // display the address information for all contacts function onSuccess(contacts) { - for (var i = 0; i < navigator.contacts.length; i++) { + for (var i = 0; i < contacts.length; i++) { for (var j = 0; j < contacts[i].addresses.length; j++) { alert("Pref: " + contacts[i].addresses[j].pref + "\n" + "Type: " + contacts[i].addresses[j].type + "\n" + @@ -537,7 +537,7 @@ Contains different kinds of information about a `Contact` object's name. ### Example function onSuccess(contacts) { - for (var i = 0; i < navigator.contacts.length; i++) { + for (var i = 0; i < contacts.length; i++) { alert("Formatted: " + contacts[i].name.formatted + "\n" + "Family Name: " + contacts[i].name.familyName + "\n" + "Given Name: " + contacts[i].name.givenName + "\n" + @@ -628,7 +628,7 @@ properties. A `Contact` object stores one or more ### Example function onSuccess(contacts) { - for (var i = 0; i < navigator.contacts.length; i++) { + for (var i = 0; i < contacts.length; i++) { for (var j = 0; j < contacts[i].organizations.length; j++) { alert("Pref: " + contacts[i].organizations[j].pref + "\n" + "Type: " + contacts[i].organizations[j].type + "\n" +