We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf4fb0 commit ad7951bCopy full SHA for ad7951b
src/ParseLiveQuery.js
@@ -123,11 +123,9 @@ let DefaultLiveQueryController = {
123
// Register a default onError callback to make sure we do not crash on error
124
defaultLiveQueryClient.on('error', (error) => {
125
LiveQuery.emit('error', error);
126
- });
127
- defaultLiveQueryClient.on('open', () => {
+ }).on('open', () => {
128
LiveQuery.emit('open');
129
130
- defaultLiveQueryClient.on('close', () => {
+ }).on('close', () => {
131
LiveQuery.emit('close');
132
});
133
0 commit comments