You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
In the documentation to allow chat to get access to API methods, the sample code demostrates
onChatLoaded = (ref) => {
ref.on_after_load = function () {
//here you can use any method you want!
}
}
This is not a good practice according to ES standards, you should not reassign ref within the function scope because ref is considered a constant that's passed in as a parameter. please update the documentation to reduce the confusion.
The text was updated successfully, but these errors were encountered:
In the documentation to allow chat to get access to API methods, the sample code demostrates
This is not a good practice according to ES standards, you should not reassign ref within the function scope because ref is considered a constant that's passed in as a parameter. please update the documentation to reduce the confusion.
The text was updated successfully, but these errors were encountered: