Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-02-28 03:07:10 +03:00
parent f8a5a9daf1
commit b9b3a37547

View File

@ -2022,6 +2022,13 @@ var JournalActions = actions.Actions({
// ...not sure how handlers outside the action can be handled here // ...not sure how handlers outside the action can be handled here
// too... // too...
// ...let the client action configure things... // ...let the client action configure things...
// I see only two automated ways to solve this:
// - mark and tweak/inject code in runtime...
// ...too complicated?
// ...requires updating code in runtime -- see requirejs...
// ...can we use something similar to gettext???
// - run in isolated context
// ...error prone...
// XXX <action>.getUndoState(..) should be called for every action // XXX <action>.getUndoState(..) should be called for every action
// in chain??? // in chain???
// XXX should aliases support explicit undo??? (test) // XXX should aliases support explicit undo??? (test)