Re: Defining globals
- --- In email@example.com, "Jacob Davenport" <jacob@...> wrote:
>So it would seem.
> Am I crazy?
> I thought I could add this comment at the top:/*global CMECF */
> /* global CMECF window */
> And then I could reference my CMECF global (analogous to the YAHOO
> global) without JSLint complaining. But now it complains. Did that
> change, or am I missing something?
- I see the problem. There cannot be a space between "/*" and "global". Just like there cannot be one between "/*" and "jslint", if that's how I decide to include options.