Merge pull request #167 from nodegin/patch-1

Fix #166
pull/169/head
Metin Seylan 6 years ago committed by GitHub
commit de3092cceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save