ThrivingKings/Apprise — pull request #10 by AnaelFavre (2012-01-18 13:08:55+00:00)
Title: Buttons personalisation with button parameter

The argument "buttons" can accept object with key (button name) / value (return value if clicked).

Example :
apprise('Hello now?', {
'buttons' : {	// Specify manual buttons + return string for each buttons
'Yes': 'yes',
'No': 'no',
'Maybe yes, maybe no': 'maybe',
}, function(r) {
alert(r);
}
});