 
 # for keybindings
 KEYS =
+  space:  32
   return: 13
   esc:    27
   one:    49

    #@setClassification @classification  # ...
    
    window.classifier = @

    @markingSurface = new MarkingSurface
      tool: MarkingTool

    # @subjectViewer = new SubjectViewer

    @markingSurface.svgRoot.attr 'id', 'classifier-svg-root'

    @subjectContainer.append @markingSurface.el

    User.on 'change', @onUserChange
    Subject.on 'fetch', @onSubjectFetch
    Subject.on 'select', @onSubjectSelect

    #addEventListener 'resize', @rescale, false

  # activate: ->
  #   # setTimeout @rescale, 100

        when KEYS.four
          @hideAllFrames()
          @showFrame("frame-id-3")
        when KEYS.space
          @play()

  elements:
    '.subject'                      : 'subjectContainer'
