     this.pushObject(cand)
 
 
-VoteList.CreateCandidateView = Em.TextField.extend
+# View for creating a new candidate
+VoteList.CreateCandidateView = Ember.TextField.extend
   # Automate having new items inserted into the 
   # list of candidates when enter is pressed
   insertNewline: ->

VoteList = Em.Application.create()


VoteList.Candidate = Em.Object.extend
  name: 'somebody'
  score: 0
  

  # Decrement the score by one
  downvote: ->
    this.set 'score', this.get('score') - 1
 

# Controller for candidate models
VoteList.CandidateController = Ember.ArrayController.create
  content: []

  # Computed property to keep content sorted
