jakesgordon/javascript-state-machine — pull request #15 by dmbch (2012-01-04 16:01:24+00:00)
Title: Make javascript-state-machine amd compliant

This patch wraps StateMachine in a self-executing function and either 'define's it, or attaches it to the passed window object. This way, StateMachine can more easily be used with loaders like require.js or curl.js.