mooremachine
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -45,2 +45,7 @@ // Copyright 2015 Joyent, Inc. | ||
FSM.prototype.isInState = function (state) { | ||
return (this.fsm_state === state || | ||
this.fsm_state.indexOf(state + '.') === 0); | ||
}; | ||
/* | ||
@@ -47,0 +52,0 @@ * Calls a callback when this FSM reaches a given state. This is for use by |
{ | ||
"name": "mooremachine", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Moore finite state machines", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8845
172