overleaf/services/web/app/coffee/infrastructure/BackgroundTasks.coffee

8 lines
325 B
CoffeeScript
Raw Normal View History

2014-02-12 10:23:40 +00:00
EditorUpdatesController = require("../Features/Editor/EditorUpdatesController")
EditorRealTimeController = require("../Features/Editor/EditorRealTimeController")
module.exports = BackgroundTasks =
run: () ->
EditorUpdatesController.listenForUpdatesFromDocumentUpdater()
EditorRealTimeController.listenForEditorEvents()