Skip to content

Conversation

@kerolloz
Copy link

@kerolloz kerolloz commented May 1, 2019

No description provided.

"dependencies": {
"express": "^4.15.2",
"socket.io": "^1.7.3"
"socket.io": "^2.2.0"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated socket.io version

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because of vulnerabilities in the old version

btn = document.getElementById('send'),
output = document.getElementById('output'),
feedback = document.getElementById('feedback');
handle = document.getElementById('handle'),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed indentation

message.addEventListener('keypress', function () {
socket.emit('typing', handle.value);
})
});
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added missing simicolon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant