W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

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

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Wed, 21 Sep 2011 13:35:55 -0700
Message-ID: <CABNRm63TbS890kzm=KrqWrS6QXx7TBnRv3CQL1kUbj+dJwifmQ@mail.gmail.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC