jslint
JSLint writing constructors that reference static variables
I\'m writing a display class in Javascript (using jQuery)开发者_Python百科 which may be instantiated before a web page has loaded. If the page isn\'t ready when the constructor is called, the instance[详细]
2023-03-01 00:15 分类:问答Why is JSLint complaining about my JavaScript?
{ out = rogueArray[1开发者_开发百科3]; for (var arrayItem in vanWilder) { This is what I am told on JSLint:[详细]
2023-02-25 03:58 分类:问答How to write correct regex so JSLint will validate?
I use a very simple regex in a replace function that causes JSLint.com to report errors:开发者_如何学运维[详细]
2023-02-21 06:09 分类:问答JSLint "document.write can be a form of eval" - How is this so?
I\'ve come across this message in JSLint... document.write can be a form of eval. and was wondering exactly how so?[详细]
2023-02-21 00:26 分类:问答Comparison operation - Correct Syntax?
Coming from PHP I understand the difference in using == verses === in a comparison operation, but with JavaScript is it acceptable to use == or =开发者_运维问答==?[详细]
2023-02-20 15:05 分类:问答JSLINT warning about style or error about Conditional Expression
I\'m trying to fix what JSLINT is warning about two things tha I don\'t know how to fix. Which line should be replaced with what code? I have pasted the code in question and the warnings about them be[详细]
2023-02-19 23:25 分类:问答jQuery: "A is undefined" error being thrown and JSLint says "jQuery(...) called incorrectly" what is wrong here?
I normally don\'t post this kind of thing but I am completely out of ideas and after hours of trying to fix this thing I simply don\'t know where to look for the error or what this error even means.[详细]
2023-02-19 20:24 分类:问答Can't click on jslint errors in NetBeans
I\'m trying to configure a NetBeans build to call jslint and produce errors that I can click on to take me to the source.[详细]
2023-02-14 16:18 分类:问答How can I change jslint(VS 2010 extension) to ignore files?
I have js lint installed in Vs 2010 as a extension through the extension manager. It finds lots of errors but they are all from external plugins or from the jquery library. I am not going to go and f[详细]
2023-02-13 00:23 分类:问答Implicit cast/number check produces 'unexpected X' JSLint error
this is nothing serious, but just a question out of curiosity. The following script in JSLINT.com gives a strange and \'unexpected\' error. My script works, but I would still like to know if anyone ca[详细]
2023-02-09 22:39 分类:问答