overleaf/services/web/public/coffee/app/ide/file-tree/directives/fileEntity.coffee
2014-06-21 22:20:37 +01:00

15 lines
No EOL
338 B
CoffeeScript

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
}
]