pull/167/head
nodegin 6 years ago committed by GitHub
parent 73a0d32d36
commit 1f33e87192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,7 +42,7 @@ export default class VueSocketIO {
*/ */
connect(connection){ connect(connection){
if(connection && typeof connection === 'object' && connection.constructor.name === 'Socket'){ if(connection && typeof connection === 'object'){
Logger.info('Received socket.io-client instance'); Logger.info('Received socket.io-client instance');
@ -62,4 +62,4 @@ export default class VueSocketIO {
} }
} }

Loading…
Cancel
Save