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

Predefine Global Variables? #23

Closed
luketeaford opened this issue Nov 3, 2014 · 1 comment
Closed

Predefine Global Variables? #23

luketeaford opened this issue Nov 3, 2014 · 1 comment

Comments

@luketeaford
Copy link

Is it possible to pass my predefined global variables like in the Options section of JSLint? Currently, I have a line at the top of my js /global $, AudioContext, Float32Array/, but if possible, I would prefer to pass these from gulp.

Great plugin though!

@karimsa
Copy link
Owner

karimsa commented Nov 4, 2014

Thanks! JSLint actually has a specific option called predef with which you can define these globals, but I have not documented it so I shall add that.

@karimsa karimsa closed this as completed in d4734c1 Nov 4, 2014
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