Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History instead of initial state #29

Open
cpbuck12 opened this issue Dec 29, 2016 · 0 comments
Open

History instead of initial state #29

cpbuck12 opened this issue Dec 29, 2016 · 0 comments
Labels

Comments

@cpbuck12
Copy link

In the area of code:
InitialiseElements.prototype.visitPseudoState = function (pseudoState, deepHistoryAbove) { var _this = this; _super.prototype.visitPseudoState.call(this, pseudoState, deepHistoryAbove); // evaluate comppletion transitions once vertex entry is complete if (pseudoState.isInitial()) { this.behavior(pseudoState).endEnter.push(function (message, instance, deepHistory) { if (instance.getLastKnownState(pseudoState.parent) && pseudoState.isHistory()) { invoke(_this.behavior(pseudoState).leave, message, instance);
The part && pseudoState.isHistory() is needed otherwise initial states will be treated like history states.
Also comppletion is misspelled.

@mesmo mesmo added the question label Jan 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants