   el: '#character-selector-tab'
 
   initialize: ->
+    @klass = Smalruby.CharacterSelectorView
+
     @listenTo(@model, name, @render) for name in ['add', 'remove', 'reset', 'change']
 
     @templateText = $('#character-selector-template').text()


      Smalruby.Views.CharacterModalView.setCharacter(c).render()

    @new_block_position = _.clone(Smalruby.CharacterSelectorView.NEW_BLOCK_POSITION)
    @prev_block = null

    @render()

  render: ->

        e.preventDefault()
        Smalruby.Views.CharacterModalView.setCharacter(character).render()

      html.find('a.add-block-button').click (e) =>
        e.preventDefault()
        @addBlock_(character)

      removeButton = html.find('a.remove-button')
      removeButton.click (e) =>
        e.preventDefault()
        @removeCharacter_(character)
      if character.get('using')
        removeButton.hide()

