       this.set 'value', ''
 
 
-VoteList.CandidateView = Em.View.extend
+# View for displaying an individual candidate
+VoteList.CandidateView = Ember.View.extend
   person: null
   
   # View helper to pass calls down to the model

  # Decrement the score by one
  downvote: ->
    this.set 'score', this.get('score') - 1
  
  
VoteList.CandidateController = Em.ArrayController.create
  content: []

  # Computed property to keep content sorted

    content = this.get('content')
    
    if content
      result = Ember.copy content
      
      result.sort ( a, b ) ->
        b.get('score') - a.get('score')
