overleaf/services/web/public/coffee/file-tree/FileView.coffee

9 lines
176 B
CoffeeScript
Raw Normal View History

2014-02-12 10:23:40 +00:00
define [
"file-tree/EntityView"
"libs/mustache"
], (EntityView) ->
FileView = EntityView.extend
onClick: (e) ->
e.preventDefault()
@options.manager.openFile(@model)