overleaf/services/web/public/coffee/ide/test-controls/controllers/TestControlsController.coffee

15 lines
341 B
CoffeeScript
Raw Normal View History

define [
"base"
"ace/ace"
], (App) ->
App.controller "TestControlsController", ($scope) ->
$scope.openProjectLinkedFileModal = () ->
window.openProjectLinkedFileModal()
$scope.openLinkedFileModal = () ->
window.openLinkedFileModal()
$scope.richText = () ->
window.location.href = window.location.toString() + '&rt=true'