mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
15 lines
338 B
CoffeeScript
15 lines
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
|
||
|
}
|
||
|
]
|