overleaf/services/web/app/coffee/infrastructure/BackgroundTasks.coffee
2014-02-12 10:23:40 +00:00

7 lines
325 B
CoffeeScript

EditorUpdatesController = require("../Features/Editor/EditorUpdatesController")
EditorRealTimeController = require("../Features/Editor/EditorRealTimeController")
module.exports = BackgroundTasks =
run: () ->
EditorUpdatesController.listenForUpdatesFromDocumentUpdater()
EditorRealTimeController.listenForEditorEvents()