Change isCallbackSet from function call to Boolean constant
This commit is contained in:
@@ -118,7 +118,7 @@ class WSSharedDoc extends Y.Doc {
|
||||
}
|
||||
this.awareness.on('update', awarenessChangeHandler)
|
||||
this.on('update', updateHandler)
|
||||
if (isCallbackSet()) {
|
||||
if (isCallbackSet) {
|
||||
this.on('update', debounce(
|
||||
callbackHandler,
|
||||
CALLBACK_DEBOUNCE_WAIT,
|
||||
|
||||
Reference in New Issue
Block a user