Skip to content
New issue

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

Google Closure Compiler shows a warning for this line of code #313

Merged
merged 1 commit into from
Oct 19, 2011
Merged

Google Closure Compiler shows a warning for this line of code #313

merged 1 commit into from
Oct 19, 2011

Conversation

Leonya
Copy link

@Leonya Leonya commented Sep 29, 2011

WARNING - If this if/for/while really shouldnt have a body, use {}
for (var j = arr.length, i = i < 0 ? i + j < 0 ? 0 : i + j : i || 0;
^

WARNING - If this if/for/while really shouldnt have a body, use {}
    for (var j = arr.length, i = i < 0 ? i + j < 0 ? 0 : i + j : i || 0;
        ^
rauchg added a commit that referenced this pull request Oct 19, 2011
Google Closure Compiler shows a warning for this line of code
@rauchg rauchg merged commit a935aeb into socketio:master Oct 19, 2011
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.

2 participants