--
You received this message because you are subscribed to the Google Groups "JSHint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jshint+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
thank you for the quick reply!
- what checkboxes are checked and used when a reviewers is reviewing js/jquery code?
-also JSHINT throws errors about variables that are defined in a global scope elsewhere in another javascript file.. will these be errors be ignored by the reviewer since JSHINT can only check the variables that are present on the code its testing against?
thanks again for your help!!
You received this message because you are subscribed to a topic in the Google Groups "JSHint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jshint/0rp0sXXLU9c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jshint+un...@googlegroups.com.
ok thanks again for all your help!!!
im sorry.. but even having browser: true (checked).. JSHINT still throws confirm() as an error and being undefined
/* global MY_LIB: false */
var success = JSHINT(source, options, globals);
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, undef:true, unused:true, curly:true, browser:true, devel:true, jquery:true, node:true, indent:4, maxerr:50 */
thanks again for the reply..
I usually define variables before ready() .. but didnt know why jshint was throwing those errors since when the browser runs the code it runs everything outside ready() until the dom is ready.. and then runs whats inside ready() .. thanks!
- do you know when a THEME reviewer is testing your js code in JSHINT.. what checkboxes they have checked when running it through JSHINT ?? .. or is it dependant on the JSHINT comments we have inside the code being tested ??
- also I noticed that if you run minified js code through JSHINT.. that it will throw errors about missing semicolons.. not sure why ??
thank you so much again for how fast and all your help and answering my questions !! :)
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, undef:true, unused:true, curly:true, browser:true, devel:true, jquery:true, node:true, indent:4, maxerr:50 */
ok thanks..
A theme reviewer is a Envato Themeforest reviewer that looks over a WordPress theme that is submitted to be sold on Themeforest.net.
Envato Marketplace is making it a requirement now that WordPress themes submitted, have their custom JS be JSHINT compliant.
so it looks like alot more people will be using your great JS quality tool.
I appreaciate all your help and for how fast you answered all my questions!
thank you and have a great night!
weird cuz I had jquery checked.. thanks I will run my code again with that closure wrapped around it and see if I see that error again.. if I do I will copy / paste the error given in a reply back..
THANKS AGAIN.. have a nice day!!