overleaf/services/web/public/coffee/app/ide/file-tree/directives/fileEntity.coffee

15 lines
338 B
CoffeeScript
Raw Normal View History

2014-06-21 17:20:37 -04:00
define [
"base"
], (App) ->
App.directive "fileEntity", ["RecursionHelper", (RecursionHelper) ->
return {
restrict: "E"
scope: {
entity: "="
}
templateUrl: "entityListItemTemplate"
compile: (element) ->
RecursionHelper.compile element, (scope, element, attrs, ctrl) ->
# Link function here if needed
}
]