mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
9 lines
195 B
CoffeeScript
9 lines
195 B
CoffeeScript
|
define [
|
||
|
"base"
|
||
|
], (App) ->
|
||
|
App.controller "FileTreeFolderController", ["$scope", ($scope) ->
|
||
|
$scope.expanded = false
|
||
|
|
||
|
$scope.toggleExpanded = () ->
|
||
|
$scope.expanded = !$scope.expanded
|
||
|
]
|