[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 <[email protected]> Authored: Tue Sep 3 10:38:40 2013 -0700 Committer: lorinbeer <[email protected]> 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 ); }
