mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
13 lines
395 B
CoffeeScript
13 lines
395 B
CoffeeScript
define [], () ->
|
|
|
|
class MetadataManager
|
|
|
|
constructor: (@ide, @$scope, @metadata) ->
|
|
|
|
@ide.socket.on 'broadcastDocMetadata', (data) =>
|
|
@metadata.onBroadcastDocMetadata(data)
|
|
@$scope.$on 'entity:deleted', @metadata.onEntityDeleted
|
|
@$scope.$on 'file:upload:complete', @metadata.fileUploadComplete
|
|
|
|
loadProjectMetadataFromServer: () ->
|
|
@metadata.loadProjectMetadataFromServer()
|