We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments in the JavaScript code seem to cause confusion.
If I take this code:
var handleProtocolClick = function(event) { protocol = getProtocolFromId(event.target.id); var index = $.inArray(protocol, state.protocols); if (index > -1) { // If present it, remove it. state.protocols.splice(index, 1); } else { state.protocols.push(protocol); } };
and beautify it, I get this:
But if I remove the comment, it works:
var handleProtocolClick = function(event) { protocol = getProtocolFromId(event.target.id); var index = $.inArray(protocol, state.protocols); if (index > -1) { state.protocols.splice(index, 1); } else { state.protocols.push(protocol); } };
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
I tried your code and it work perfectly :D. There's no confused :D
No branches or pull requests
Comments in the JavaScript code seem to cause confusion.
If I take this code:
and beautify it, I get this:
But if I remove the comment, it works:
The text was updated successfully, but these errors were encountered: