Re: closure compiler chokes on jslint.js
> JSLint strictly conforms to the syntax of ES5.That information of yours got me on the right path:
calling closure with
solves my problem.
No errors are beeing thrown at me.
--language_in defaults to ECMASCRIPT3 in which the thing in question
Thank you !
- Have brought to light another question: is there an update planned for The Good Parts?
I for one would purchase it again, we're it updated and in any way expanded to reflect Douglas' more recent views...
> > I think the question was whether JSLint conforms to the advice in your book.[Non-text portions of this message have been removed]
> The book is dated.
- On Sat, Mar 2, 2013 at 8:39 AM, Heinz Rasched <raschedh@...> wrote:
> 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.
similar spirit to how you can specify it in, for instance, the Perl
programming language). That might reduce problems, or at least make
compiler that does not provide that standards level could presumably
throw an error saying "I don't support this").
Thanks for your time. Hope this is of some use, interest. Be well.