mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
16 lines
426 B
CoffeeScript
16 lines
426 B
CoffeeScript
define [
|
|
"base"
|
|
"ace/ace"
|
|
], (App) ->
|
|
App.controller "TestControlsController", ($scope) ->
|
|
|
|
$scope.openProjectLinkedFileModal = () ->
|
|
window.openProjectLinkedFileModal()
|
|
|
|
$scope.openLinkedFileModal = () ->
|
|
window.openLinkedFileModal()
|
|
|
|
$scope.richText = () ->
|
|
current = window.location.toString()
|
|
target = "#{current}#{if window.location.search then '&' else '?'}rt=true"
|
|
window.location.href = target
|