Permalink
Browse files

Exposed private attribute _isInFinalState via public API SCXML.protot…

…ype.isFinal. Issue $6
  • Loading branch information...
1 parent 3a3092a commit 3b8527e3baa1fbbf4d8f78fa6a8e89f24fa8b401 @jbeard4 committed Dec 21, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/core/scxml/SCXML.js
@@ -135,6 +135,11 @@ SCXMLInterpreter.prototype = {
return this.getFullConfiguration().indexOf(stateName) > -1;
},
+ /** @expose */
+ isFinal : function(stateName) {
+ return this._isInFinalState;
+ },
+
/** @private */
_performBigStep : function(e) {
if (e) this._innerEventQueue.push(new this.opts.EventSet([e]));

0 comments on commit 3b8527e

Please sign in to comment.