overleaf/services/web/public/coffee/app/ide/track-changes/controllers/TrackChangesDiffController.coffee

9 lines
231 B
CoffeeScript
Raw Normal View History

2014-06-27 12:11:26 -04:00
define [
"base"
], (App) ->
App.controller "TrackChangesDiffController", ["$scope", "ide", ($scope, ide) ->
$scope.restoreDeletedDoc = () ->
ide.trackChangesManager.restoreDeletedDoc(
$scope.trackChanges.diff.doc
)
]