m15o.net/site/lib/hist

NAME

hist - undo/redo stack

SYNOPSIS

// #include /lib/odc

h = Hist()
h.push(undoFn, redoFn)
h.undo()
h.redo()
h.tip.get()
h.tip.sub()
h.pos.get()
h.pos.sub()
h.rest.get()
h.rest.sub()
h.off(fn)
h.batch(fn)

DESCRIPTION

The hist library is for managing an undo/redo stack.

SOURCE

/etc/site/lib/hist.js

SEE ALSO

odc(lib)