     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) ->

          .click(=> filepicker.pick @onFileChosen)
      )
    )

  addPreviewToggle: (valEl) ->
    valEl.append($('<div class="toggle-preview-button"></div>').append(
      $('<button>Toggle Preview</button>')
