src/History.js
function (binding) {
    var historyBinding = getHistoryBinding(binding);
    var listenerId = historyBinding.get('listenerId');
    var undoBinding = historyBinding.sub('undo');
    var redoBinding = historyBinding.sub('redo');
    return revert(binding, undoBinding, redoBinding, listenerId, 'oldValue');
  }
function (binding) {
    var historyBinding = getHistoryBinding(binding);
    var listenerId = historyBinding.get('listenerId');
    var undoBinding = historyBinding.sub('undo');
    var redoBinding = historyBinding.sub('redo');
    return revert(binding, undoBinding, redoBinding, listenerId, 'oldValue');
  }
function ( binding ) { var historyBinding = getHistoryBinding ( binding ) ; var listenerId = historyBinding . get ( 'listenerId' ) ; var undoBinding = historyBinding . sub ( 'undo' ) ; var redoBinding = historyBinding . sub ( 'redo' ) ; return revert ( binding , undoBinding , redoBinding , listenerId , 'oldValue' ) ; }
Revert to previous state.
@param {Binding} binding binding
@returns {Boolean} true, if binding has undo information
@memberOf History
Revert to previous state .