You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/04/25 20:12:18 UTC
[1/2] git commit: CB-6452 Incremented plugin version on dev branch.
Repository: cordova-plugin-contacts
Updated Branches:
refs/heads/master 134b3a6ba -> 55ba3f258
CB-6452 Incremented plugin version on dev branch.
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/e7d7d27a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/e7d7d27a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/e7d7d27a
Branch: refs/heads/master
Commit: e7d7d27ae303b98d14c08945cf831671a1c53ddd
Parents: 134b3a6
Author: Ian Clelland <ic...@chromium.org>
Authored: Thu Apr 17 11:16:03 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Thu Apr 17 11:16:03 2014 -0400
----------------------------------------------------------------------
plugin.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/e7d7d27a/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 928ba20..676ffd5 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -22,7 +22,7 @@
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.apache.cordova.contacts"
- version="0.2.10">
+ version="0.2.11-dev">
<name>Contacts</name>
<description>Cordova Contacts Plugin</description>
[2/2] git commit: Docs typo: navigator.contacts.length ->
contacts.length
Posted by ia...@apache.org.
Docs typo: navigator.contacts.length -> contacts.length
Signed-off-by: Shazron Abdullah <sh...@apache.org>
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/master
Commit: 55ba3f2580d2c3bbd1662f49d89043710446220a
Parents: e7d7d27
Author: huang.xinghui <hu...@gmail.com>
Authored: Thu Apr 10 14:53:33 2014 +0800
Committer: Shazron Abdullah <sh...@apache.org>
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" +