[whatwg] Fixing undo on the Web - UndoManager and Transaction

On Wed, Sep 21, 2011 at 1:30 PM, timeless <timeless at gmail.com> wrote:

> There's nothing wrong with the idl specifying apply(DOMString reason);
>
> Reason will be "" for normal applications and "reapply" for reapply cases.
>
> That still gives you a truth value, and it gives something more
> meaningful to callees.
>

I rather not use string for this argument. If you think boolean argument is
confusing, then the right approach is to get rid of this argument
altogether.

- Ryosuke

Received on Wednesday, 21 September 2011 13:35:55 UTC