       range:
         "min": @canvasGraph.smallestX
         "max": @canvasGraph.largestX - @zoomRange
+
+  onUserChange: (e, user) =>
+    Subject.next() unless @classification?
+
+  onSubjectFetch: =>
+    console.log 'onSubjectFetch()'
+
+  onSubjectSelect: (e, subject) =>
+    console.log 'onSubjectSelect()'
+    @classification = new Classification {subject}
+    # @loadSubject()
 
   loadSubject: (data) ->
     # create a new canvas

    @zoomRange = 15.00
    isZoomed: false
    ifFaved: false
    @marksContainer = @el.find('#marks-container')[0]
    @loadSubject(sampleData[0])


BaseController = require 'zooniverse/controllers/base-controller'
User           = require 'zooniverse/models/user'
Subject        = require 'zooniverse/models/subject'
Classification = require 'zooniverse/models/classification'
MiniCourse     = require '../lib/mini-course'
NoUiSlider     = require "../lib/jquery.nouislider.min"


$ = window.jQuery
require '../lib/sample-data'
