Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-04-01 02:18:45 +03:00
parent bb7be3e83f
commit 4d242f3cc8

View File

@ -104,7 +104,13 @@ function makeTagTogglerAction(tag){
} }
// XXX should this co-exist with undoable tags??? // Build a tag toggler undo set of attrs...
//
// This will add:
// 'undoable' - predicate to check if we need to undo, to handle
// introspection calls correctly...
// 'undo' - undo function...
//
var undoTag = function(action){ var undoTag = function(action){
return { return {
// do not journal calls that have no side-effects, e.g. toggler // do not journal calls that have no side-effects, e.g. toggler