On Tue, May 29, 2012 at 12:08 PM, Anton Kovalyov <[email protected]> wrote:
> FWIW I don't think it's even possible to use JSLint and 'with'. The parser
> just quits as if it was a syntax error.

Yes this is correct.

>
> Anton
>
> On Tuesday, May 29, 2012 at 11:40 AM, Brendan Eich wrote:
>
> John Tamplin wrote:
>
>
> 2) I had legacy code using "with".
>
>
> You probably want to rewrite such code even if you aren't using SES --
> check out the performance implications.

I seriously doubt such a change would have any measurable effect.  Or
rather: there are so many better ways to improved this code.

>
>
> And JSLint won't let you use 'with', not even with options (IIRC).
>
> John, do you really use JSLint *and* 'with'? Paging Dr. Crockford! ;-)

I'll not make any claims that jslint is perfect. But when it fails you
just ignore it.

jjb

>
> /be
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to