backbone.statemachine.js
function() {
        var events = _.reduce(_.values(this._transitions), function(memo, transitions) {
          return memo.concat(_.keys(transitions))
        }, [])
        return _.uniq(events)
      }
function() {
        var events = _.reduce(_.values(this._transitions), function(memo, transitions) {
          return memo.concat(_.keys(transitions))
        }, [])
        return _.uniq(events)
      }
function ( ) { var events = _ . reduce ( _ . values ( this . _transitions ) , function ( memo , transitions ) { return memo . concat ( _ . keys ( transitions ) ) } , [ ] ) return _ . uniq ( events ) }
Returns the list of all events that can trigger a transition
Returns the list of all events that can trigger a transition