mirror of
https://github.com/yjs/yjs.git
synced 2025-12-24 23:49:26 +01:00
better fix for #17
This commit is contained in:
@@ -45,9 +45,9 @@ module.exports =
|
||||
@current_sync_target = null
|
||||
@sent_hb_to_all_users = false
|
||||
@is_initialized = true
|
||||
@connections_listeners = []
|
||||
|
||||
onUserEvent: (f)->
|
||||
@connections_listeners ?= []
|
||||
@connections_listeners.push f
|
||||
|
||||
isRoleMaster: ->
|
||||
|
||||
Reference in New Issue
Block a user