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

10 lines
175 B
CoffeeScript
Raw Normal View History

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