Skip to content

Commit 4e5fad0

Browse files
author
Tom Kirkpatrick
committed
Code cleanup
1 parent f2e1c45 commit 4e5fad0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/mixins/state-machine.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ module.exports = function StateMachine(Model, settings) {
4040
},
4141
}
4242

43-
// [
44-
// { "name": "activate", "from": "none", "to": "active" },
45-
// { "name": "cancel", "from": "active", "to": "canceled" },
46-
// { "name": "reactivate", "from": "canceled", "to": "active" },
47-
// { "name": "expire", "from": [ "active", "canceled" ], "to": "expired" }
48-
// ]
49-
5043
/**
5144
* Extract all the possible events from the 'from' and 'to' keys in the state array
5245
*/

0 commit comments

Comments
 (0)