Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jgithub
/
javascript-state-machine
Public
forked from
jakesgordon/javascript-state-machine
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
javascript-state-machine
test
on
master
User selector
All users
All time
Commit history
Commits on Nov 19, 2016
added function (fsm.states) returning list of all available states to help automated testing (issue #54)
jakesgordon
committed
d403758
View commit details
Copy full SHA for d403758
View code at this point
Browse repository at this point
added unit test to ensure issue #90 is fixed
jakesgordon
committed
7d4c16c
View commit details
Copy full SHA for 7d4c16c
View code at this point
Browse repository at this point
Merge pull request #64 from QuentinRoy/muti_wildcard
Show description for ffec3f4
jakesgordon
authored
ffec3f4
View commit details
Copy full SHA for ffec3f4
View code at this point
Browse repository at this point
Fix issue #60 - can() with unexpected event (crashes)
jakesgordon
committed
3d71da4
View commit details
Copy full SHA for 3d71da4
View code at this point
Browse repository at this point
Commits on Nov 18, 2016
add unit test for PR #97
jakesgordon
committed
3a90274
View commit details
Copy full SHA for 3a90274
View code at this point
Browse repository at this point
Commits on Jan 26, 2015
add tests
QuentinRoy
committed
c761134
View commit details
Copy full SHA for c761134
View code at this point
Browse repository at this point
Commits on Jan 21, 2015
fix issue #74 - new transitions() method is broken
jakesgordon
committed
f247a9b
View commit details
Copy full SHA for f247a9b
View code at this point
Browse repository at this point
Commits on Jan 13, 2015
Added method which returned allowable transitions from current state.
Mathew Goldsborough
committed
f6596f0
View commit details
Copy full SHA for f6596f0
View code at this point
Browse repository at this point
Commits on Oct 14, 2014
fix(exports):fixed window test to add web worker compatibility
Offirmo
committed
0bff1b1
View commit details
Copy full SHA for 0bff1b1
View code at this point
Browse repository at this point
Commits on Mar 15, 2014
only define as a requirejs module when define.amd is present
jakesgordon
committed
6d61d92
View commit details
Copy full SHA for 6d61d92
View code at this point
Browse repository at this point
Added nodejs support (finally) along with node-qunit test/runner.js
jakesgordon
committed
c783928
View commit details
Copy full SHA for c783928
View code at this point
Browse repository at this point
upgrade to latest version of qunit
jakesgordon
committed
db5f5b7
View commit details
Copy full SHA for db5f5b7
View code at this point
Browse repository at this point
Commits on Jan 26, 2013
Added optional `final` state(s) and `isFinished()` helper method (issue #23)
jakesgordon
committed
6319311
View commit details
Copy full SHA for 6319311
View code at this point
Browse repository at this point
extended `fsm.is()` to accept an array of states (in addition to just a single state)
jakesgordon
committed
131af49
View commit details
Copy full SHA for 131af49
View code at this point
Browse repository at this point
[issue #28] - Added generalized callbacks for intercepting all events and state transitions (instead of having a callback per-event/state)
Show description for f5eb7e3
jakesgordon
committed
f5eb7e3
View commit details
Copy full SHA for f5eb7e3
View code at this point
Browse repository at this point
Renamed Result.ASYNC to Result.PENDING to avoid confusion with existing ASYNC constant (that is used to request an asynchronous transition)
jakesgordon
committed
4f584f0
View commit details
Copy full SHA for 4f584f0
View code at this point
Browse repository at this point
Tweaks after pull #34 - release notes, minified version, whitespace alignment
jakesgordon
committed
41db8e8
View commit details
Copy full SHA for 41db8e8
View code at this point
Browse repository at this point
Commits on Sep 19, 2012
Fix event return codes and tests
Julien Sanchez
committed
cf58637
View commit details
Copy full SHA for cf58637
View code at this point
Browse repository at this point
Commits on May 9, 2012
Issue #22 - A Function to cancel a transition after StateMachine.ASYNC
jakesgordon
committed
1180b8a
View commit details
Copy full SHA for 1180b8a
View code at this point
Browse repository at this point
Commits on Mar 17, 2012
add tests and documentation to resolve github issue #19
jakesgordon
committed
394c219
View commit details
Copy full SHA for 394c219
View code at this point
Browse repository at this point
Commits on Feb 20, 2012
Ensure global namespace is not polluted when using requireJS. And add qunit test of basics when included using requireJS
jakesgordon
committed
5d94074
View commit details
Copy full SHA for 5d94074
View code at this point
Browse repository at this point
Commits on Feb 12, 2012
Fix github issue #17 - Don't swallow errors in SM callbacks
Show description for 38a8f2b
jakesgordon
committed
38a8f2b
View commit details
Copy full SHA for 38a8f2b
View code at this point
Browse repository at this point
Commits on Jan 8, 2012
Allow event to be cancelled by returning `false` from `onleavestate` handler (issue #13)
Show description for 686b593
jakesgordon
committed
686b593
View commit details
Copy full SHA for 686b593
View code at this point
Browse repository at this point
Commits on Jan 7, 2012
Provide explicit return values from an event method (github issue #12)
Show description for 9e5000c
jakesgordon
committed
9e5000c
View commit details
Copy full SHA for 9e5000c
View code at this point
Browse repository at this point
Allow events that can be fired from any state using a wildcard '*' (or missing) 'from' attribute (github issue #11)
Show description for a5c7025
jakesgordon
committed
a5c7025
View commit details
Copy full SHA for a5c7025
View code at this point
Browse repository at this point
Allow no-op transition event if 'to' parameter is not specified (github issue #5)
Show description for 69808b3
jakesgordon
committed
69808b3
View commit details
Copy full SHA for 69808b3
View code at this point
Browse repository at this point
finalized custom error handler for issue #3
jakesgordon
committed
25b9d49
View commit details
Copy full SHA for 25b9d49
View code at this point
Browse repository at this point
Commits on Dec 10, 2011
extend the custom error handler (cfg.error) to support handling the case where a caller provided callback throws an exception
Show description for 724aa0b
jakesgordon
committed
724aa0b
View commit details
Copy full SHA for 724aa0b
View code at this point
Browse repository at this point
Merge pull request #10 from cboone/feature/custom_error_callback
Show description for 1195fea
jakesgordon
committed
1195fea
View commit details
Copy full SHA for 1195fea
View code at this point
Browse repository at this point
Commits on Nov 27, 2011
allow custom event error handling
cboone
committed
cdea1f1
View commit details
Copy full SHA for cdea1f1
View code at this point
Browse repository at this point
fix qunit test name spelling
cboone
committed
cb82f04
View commit details
Copy full SHA for cb82f04
View code at this point
Browse repository at this point
fix exception message spelling
cboone
committed
ec01fb4
View commit details
Copy full SHA for ec01fb4
View code at this point
Browse repository at this point
Commits on Aug 21, 2011
fixed typo
jakesgordon
committed
1b3209f
View commit details
Copy full SHA for 1b3209f
View code at this point
Browse repository at this point
added qunit test to verify correct callbacks on same-state transtion (before/after event ARE fired, enter/leave state ARE NOT fired)
jakesgordon
committed
b891170
View commit details
Copy full SHA for b891170
View code at this point
Browse repository at this point
Commits on Aug 19, 2011
ensure `can()` returns false during asynchronous state transitions
jakesgordon
committed
5462141
View commit details
Copy full SHA for 5462141
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.