History plugin - tracks command history for undo/redo
v0.3.0: undo() now executes the inverse handler if the command was registered with { undo: fn } via bus.register(). Falls back to data-only pop if no inverse handler exists.
History plugin - tracks command history for undo/redo
v0.3.0: undo() now executes the inverse handler if the command was registered with { undo: fn } via bus.register(). Falls back to data-only pop if no inverse handler exists.