 
   autoRender: true
 
-  assetCompilationEndpoint: CodeSync.get("assetCompilationEndpoint")
 
   defaultExtension: ".coffee"
 


  initialize: (@options={})->
    _.extend(@, @options)

    @assetsCollection = new CodeSync.ProjectAssets()


  loadAsset: (@currentPath)->
    $.ajax
      type: "GET"
      url: "#{ CodeSync.get("assetCompilationEndpoint") }?path=#{ @currentPath }"
      success: (response)=>

        @_nameInput.setValue(@currentPath)
