You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by lo...@apache.org on 2013/09/03 19:45:03 UTC
[2/3] docs commit: [CB-4588] updated button labels example code to
use array syntax, from deprecated comma separated string syntax
[CB-4588] updated button labels example code to use array syntax, from deprecated comma separated string syntax
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/15ee26dd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/15ee26dd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/15ee26dd
Branch: refs/heads/master
Commit: 15ee26ddf96337a2908cc48f6537da122c3dadce
Parents: 2ba0b3f
Author: lorinbeer <lo...@adobe.com>
Authored: Tue Sep 3 10:38:40 2013 -0700
Committer: lorinbeer <lo...@adobe.com>
Committed: Tue Sep 3 10:38:40 2013 -0700
----------------------------------------------------------------------
docs/en/edge/cordova/notification/notification.confirm.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/15ee26dd/docs/en/edge/cordova/notification/notification.confirm.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/notification/notification.confirm.md b/docs/en/edge/cordova/notification/notification.confirm.md
index f7d19be..03c2ba8 100755
--- a/docs/en/edge/cordova/notification/notification.confirm.md
+++ b/docs/en/edge/cordova/notification/notification.confirm.md
@@ -68,7 +68,7 @@ indexing, so the value is `1`, `2`, `3`, etc.
'You are the winner!', // message
onConfirm, // callback to invoke with index of button pressed
'Game Over', // title
- 'Restart,Exit' // buttonLabels
+ ['Restart','Exit'] // buttonLabels
);
}
@@ -104,7 +104,7 @@ indexing, so the value is `1`, `2`, `3`, etc.
'You are the winner!', // message
onConfirm, // callback to invoke with index of button pressed
'Game Over', // title
- 'Restart,Exit' // buttonLabels
+ ['Restart','Exit'] // buttonLabels
);
}