   initialize: ->
     throw new Error('@flow must be specified.') unless @constructor.flow
 
-    #multi inheritance...
+    # mixin
     _.extend this, EventEmitter.prototype
 
     @order = 0 #current flow order


  onClickNext: ->
    #collect result into @result object
    _.extend @result, @currentView.getResult()

    if @order < @constructor.flow.length - 1
      @order++


  destroy: ->
    @detach()

  enableNext: ->
    @next.prop 'disabled', false

  disableNext: ->
    @next.prop 'disabled', true
