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
javascript-stacktrace is not JSLint valid code #8
Comments
Thanks for letting me know. I have fixed all issues except referencing arguments.callee (which I must do because it is fundamental to the project). Please let me know if you have other ideas/suggestions. |
Unfortunately the fresh code still gives few issues. |
Interesting. The JSLint tool I'm using did not catch those. May I ask which tool you're using? As far as the "Unexpected use of '<<'", I'm intentionally trying to cause an error without throw new Error(..). If you can find a way for me to do that without generating a JSLint warning, I'll be happy to include it. Thanks again for your help, Eric |
I'm actually using the JSLint itself, through Ant+Aptana. :) |
I was just checking it through jslint.com, odd that it didn't whine about those things. |
There are multiple issues that JSLint catches with javascript-stacktrace. I am working those through but there are some that I have been unable to solve.
For example, the "(0)();" rows come out with "Bad invocation." -error.
And, "var reStack = /{anonymous}(.*)@(\w+://([-\w.]+)+(:\d+)?[^:]+):(\d+):?(\d+)?/;" -row has three separate errors: Unescaped '{', Unescaped '}' and Unescaped '-'.
The text was updated successfully, but these errors were encountered: