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

AttributeErrors (Patch with fix) #79

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 3 comments
Open

AttributeErrors (Patch with fix) #79

GoogleCodeExporter opened this issue Mar 31, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Be a poor, starving freelancer
2. Have to fix some mangled inline JS
3. Run gjslint --check_html -r static/html

What is the expected output? What do you see instead?

Expected output containing full error list. Instead AttributeError is thrown 
due to token and metadata objects being set to None

What version of the product are you using? On what operating system?

gjslint v2.3.12 on Arch Linux

Please provide any additional information below.

I have encountered some pretty badly mangled inline JS in my current job, which 
is NDA so I can't provide any test case (sorry) but attached is a patch that 
fixed the problem for me. It seems to pass full_test without issue. Otherwise 
though this linter saved my sanity. Thanks Google.

Original issue reported on code.google.com by [email protected] on 8 Nov 2013 at 2:25

Attachments:

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

No branches or pull requests

1 participant