mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
9 lines
238 B
CoffeeScript
9 lines
238 B
CoffeeScript
|
define [
|
||
|
"base"
|
||
|
], (App) ->
|
||
|
App.controller "FileTreeEntityController", ["$scope", ($scope) ->
|
||
|
$scope.select = ($event) ->
|
||
|
ide.fileTreeManager.forEachEntity (entity) ->
|
||
|
entity.selected = false
|
||
|
$scope.entity.selected = true
|
||
|
]
|