Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

6 results from messages in jslint_com

Advanced Search
  • Yeah ! I'd love to be taught the good parts of ES5.
    Heinz Rasched Mar 2, 2013
  • > JSLint strictly conforms to the syntax of ES5. That information of yours got me on the right path: calling closure with --language_in ECMASCRIPT5 solves my problem. No errors are beeing thrown at me. --language_in defaults to ECMASCRIPT3 in which the thing in question isn't allowed. Thank you !
    Heinz Rasched Mar 2, 2013
  • running the closure compiler from The Google over jslint.js now throws errors. it is offended for example by the usage of 'function' as a property name. For example in line 1980 of jslint.js one finds token.function = funct; Now in 'JavaScript: The Good Parts' one finds on page 21 in 'Retrieval' "[...] and if it is a legal JavaScript name and not a reserved word, then the...
    Heinz Rasched Mar 1, 2013
  • Fetching Sponsored Content...
  • > (; looks like a mistake. Do not use forms that look like mistakes. > > To make it easier to find the needle, make your program look less like a haystack. Because having been blamed with your usual accusations yada yada, I take the liberty to thank you for the context coloring stuff in jslint ! Not because i use it, but because of the heresy of yours, that the usual syntax...
    Heinz Rasched Feb 26, 2013
  • I knew that you wouldn't like that. > (; looks like a mistake. That depends on the context of the `(;' > Do not use forms that look like mistakes. I do not. > To make it easier to find the needle, make your program look less like a haystack. My programs are far from looking like that. I never look for needles in them. Anyhow, thanks for the consideration. Of course, I'll pledge...
    Heinz Rasched Feb 25, 2013
  • I like to give my vars a value when I declare them, whenever that is possible. JsLint does not allow me to do that in one special case: function f(an_array) { 'use strict' var i = 0, n = an_array.length; for (; i < n; i += 1) { // operate on an_array[i] } } It complains about the missing initial expression in the for statement. So I am forced to write var i = 0, n = an_array.length...
    Heinz Rasched Feb 25, 2013