I think 0 on a cancel is okay as long as we document it. The only other thing we could do is to add an optional cancellation callback to the end of the argument list for the method.
Simon Mac Donald http://hi.im/simonmacdonald On Thu, Oct 25, 2012 at 5:12 PM, Joe Bowser <[email protected]> wrote: > Hey > > I'm working through CB-1742, and adding the onCancel listeners for > when someone uses the back button. However, it seems that we don't > have any behaviour defined for this. Right now, I return 0 for this > on the notification.confirm, but I don't think that's right. What > should this be? > > Any ideas? > > Joe >
