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

Add option for stricter javascript checks #26

Open
jorrit opened this issue Nov 16, 2015 · 1 comment
Open

Add option for stricter javascript checks #26

jorrit opened this issue Nov 16, 2015 · 1 comment

Comments

@jorrit
Copy link

jorrit commented Nov 16, 2015

Currently, the target test is added to my Modernizr build because I have the following code:
e.target
In this case, I am just reading the target of an event, it has nothing to do with Modernizr. Customizr detects this test because it checks for .target in my Javascript file. I always use Modernizr.<test>, so I would like to request an option to only detect tests when they directly reference Modernizr. This prevents false positives.

@jenssimon
Copy link

+1

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

No branches or pull requests

2 participants