overleaf/services/web/public/coffee/file-tree/FileView.coffee
2014-02-12 10:23:40 +00:00

8 lines
176 B
CoffeeScript

define [
"file-tree/EntityView"
"libs/mustache"
], (EntityView) ->
FileView = EntityView.extend
onClick: (e) ->
e.preventDefault()
@options.manager.openFile(@model)