jslint
JSLint is suddenly reporting: Use the function form of "use strict"
I include the statement: 开发者_JAVA百科\"use strict\"; at the beginning of most of my Javascript files.[详细]
2023-01-31 11:26 分类:问答Find IE-breaking ECMAScript/JavaScript errors
I work on a relatively huge ECMAScript codebase (> 60,000 LOC) and we tend to struggle a bit with detecting errors for our dreaded friend Internet Explorer (especially 6 and 7).[详细]
2023-01-26 23:10 分类:问答JSLint complaining about my try/catch
The javascript, when run through JSLint yells at me and I am not sure why. /*jslint browser: true, devel: true, evil: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, newca[详细]
2023-01-25 20:10 分类:问答JSLint "insecure ^" in regular expression
JSLint reports Insecure \'^\' for the following line. Why is that? Or is it just going to开发者_开发技巧 complain any time I want to negate a character class?[详细]
2023-01-24 05:13 分类:问答Is it possible to validate my jQuery JavaScript with JSLint?
I wanted to check my JavaScript with JSLint. I am also using jQuery and JSLint seems to be very unhappy about jQuery.[详细]
2023-01-23 04:33 分类:问答Why does JSLint complain about undefined/implied global variable?
I\'m trying to understand why JSLint complains about an implied global variable in the following example:[详细]
2023-01-21 10:42 分类:问答eval is evil issue
Using JSlint to validate my javascript. I am getting an error sayi开发者_Python百科ng eval is evil! Why is this and is there an alternative I can use?[详细]
2023-01-21 10:16 分类:问答How can I use JSLint for a segment of code which depends on JQuery?
I\'m relatively new to Javascript, and I\'d like to run the piece of code I spent the weekend playing with through JSLint so that it can point out where I was being a total idiot :)[详细]
2023-01-19 22:48 分类:问答How to define a new global function in javascript
I have an issue trying to make a function global when it is involved in closure.In the code listed below I have an anonymous method which defines at new function on the window called, getNameField.[详细]
2023-01-19 12:06 分类:问答Undefined jQuery value when trying to correct JSLint complaint: "Don't make functions within a loop"
Within a jQuery ajax function data supplied to the callback function on success is defined with success: function (data) { ...[详细]
2023-01-17 06:26 分类:问答