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

9 lines
175 B
CoffeeScript

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