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

8 lines
325 B
CoffeeScript
Raw Normal View History

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