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

9 lines
176 B
CoffeeScript
Raw Normal View History

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