I was getting this warning "empty statement or extra semicolon" in cases where I WANTED an empty statement, e.g. if (x) {} else { y; }.
I put in a feature request for a //jsl: markup to disable the warning in individual spots.
Martin gave me a good workaround -- use "if (x) { null; } else { y; }".
And yes, thanks for Lint.
Cam
Log in to post a comment.
I was getting this warning "empty statement or extra semicolon" in cases where I WANTED an empty statement, e.g. if (x) {} else { y; }.
I put in a feature request for a //jsl: markup to disable the warning in individual spots.
Martin gave me a good workaround -- use "if (x) { null; } else { y; }".
And yes, thanks for Lint.
Cam