 # The view class for each child item in the tree view. Each child item
-# is <li> tag with an anchor surrounding the name. It is the super of 
+# is <li> tag with an anchor surrounding the name. It is the super of
 # Link and Node Tree Items but can also render non-link/node tree items
 class window.sirius.TreeChildItemView extends Backbone.View
   $a = window.sirius
   tagName: "li"
   className: "file"
   events:
-    click: 'manageHighlight',
-    contextmenu : 'showContext'
+    click: 'manageHighlight'
+    contextmenu: 'showContext'
 
   # The model attribute is the model for this class, the element
   # attribute is the name of the parent tree element this model should

      $(@el).attr 'id', @id
    displayName =  name
    @template = _.template($('#child-item-menu-template').html())
    @$el.html(@template({text: displayName}))
    @setUpEvents()

  render: ->

    @targets = params.targets
    name = params.name
    @element = params.attach

    # used to toggle highlight for this element
    @highlighted = false

