Menu

#5 'Assignable' flag not been recognized in predefined list

closed
nobody
None
5
2012-05-12
2011-08-22
Zero One
No

As JSLint manual states predefined option is "An array of strings, the names of predefined global variables, or an object whose keys are global variable names, and whose values are booleans that determine if each variable is assignable".
But plugin not recognizes those 'boolean values', it ignores predefined option 'var1: true' and as a result JSLint claims 'Read only' when detects that var1 is assigned in analyzed script.

Discussion

  • Martin Vladic

    Martin Vladic - 2011-08-24

    JSLint plugin for Notepad++ works exactly as web interface at www.jslint.com in regard of predefined option. This means that JSLint manual is unaccurate.

     
  • Martin Vladic

    Martin Vladic - 2012-05-12
    • status: open --> closed-rejected
     

Log in to post a comment.