mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 14:19:01 +02:00
17 lines
426 B
CoffeeScript
17 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
|