(state)
| 743 | } |
| 744 | |
| 745 | addState (state) { |
| 746 | if (this.is(state)) { return; } |
| 747 | this.states.push(state); |
| 748 | this.emit('stateadded', state); |
| 749 | } |
| 750 | |
| 751 | removeState (state) { |
| 752 | var stateIndex = this.states.indexOf(state); |
no test coverage detected