3158Re: closure compiler chokes on jslint.js
- Mar 2 1:14 AM--- In email@example.com, "Heinz Rasched" <raschedh@...> wrote:
>JSLint strictly conforms to the syntax of ES5. File a bug report with closure.
> 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;
> in 'Retrieval'
> word, then the . notation can be used instead"
> On Page 7 the word `function' is listed as one of these reserved
> so closure seems to be rightly offended.
> i use jslint from the cmdline, attaching some stuff to its
> butt, so that i can run it through node.js.
> after the attachment i run closure to minify it.
> so it's not a big deal; i can still run it.
- << Previous post in topic Next post in topic >>