Closed philipvr closed 12 years ago
Don't put JSLint into the repository. Just assume the user has it installed, and add the appropriate commands to the Makefile so that it is run on every build.
Once that is done, the branch can start work on fixing all the errors.
Even after adding /*global hd:true */
, jslint still gives the error:
Unexpected 'hd'.
hd.__private.Variable = Variable;
A semicolon is missing from the preceding statement.
I have fixed most of the jslint errors, but main thing that jslint still has a problem with is the use of 'in'
:
lib/bindings/behavior/value.js error(s)
================================
30 Unexpected 'in'. Compare with undefined, or use the hasOwnProperty method instead.
:19 if ("value" in maybe) {
---
Could you follow the suggestion and convert them all to use hasOwnProperty
please?
You can now run JSLint via command line: