UNPKG
vmes-flowable
Version:
latest (1.0.0)
1.0.0
ceshibao
vmes-flowable
/
bpmn-js-cli
/
lib
/
commands
/
undo.js
15 lines
(10 loc)
•
201 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
function
UndoCommand
(
commandStack
) {
return
{
exec
:
function
(
) { commandStack.
undo
(); } }; }
UndoCommand
.
$inject
= [
'commandStack'
];
module
.
exports
=
UndoCommand
;