     input = valEl.find('input')
     input.focus().keyup @search
     input.attr('placeholder', @formatDocument(@data)) if @data
-    
+
   buildSearchURL: (term) -> "#{@url}?term=#{term}&project=true"
 
   search: =>


class CodeLanguagesObjectTreema extends TreemaNode.nodeMap.object
  childPropertiesAvailable: ->
    (key for key in _.keys(codeLanguages) when not @data[key]?)

class CodeLanguageTreema extends TreemaNode.nodeMap.string
  buildValueForEditing: (valEl) ->


  getSearchResultsEl: -> @getValEl().find('.treema-search-results')
  getSelectedResultEl: -> @getValEl().find('.treema-search-selected')

  modelToString: (model) -> model.get('name')

  formatDocument: (docOrModel) ->
