- Or, add some extrinsic way of saying, These are the globals I m not declaring but I don t want me to yentz me about. M. ________________________________Message 1 of 34 , Jun 1, 2009View SourceOr, add some extrinsic way of saying, "These are the globals I'm not declaring but I don't want me to yentz me about."
From: Douglas Crockford <douglas@...>
Sent: Monday, June 1, 2009 12:22:42 PM
Subject: [jslint] Re: /*global */
One thing I can do is to add more Assume options supporting popular Ajax libraries. If you are responsible for a popular Ajax library with a small, stable list of predefined globals, then give me the list.
Yahoo! Groups Links
[Non-text portions of this message have been removed]
- ... Which do you think is more likely, that a program wants to change the global name, or that a var name declaration in a function was forgotten? We won t getMessage 34 of 34 , Jun 12, 2009View Source--- In firstname.lastname@example.org, "pauanyu" <pcxunlimited@...> wrote:
> "name" needs to be writable. It has no value by default,Which do you think is more likely, that a program wants to change the global name, or that a var name declaration in a function was forgotten? We won't get an implied global warning, but at least we can get a read only warning. I think that is the more useful default.
> but you can assign a string to it, indicating the name of
> the window/tab.