--- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
>
> --- In jslint_com@yahoogroups.com, "Noah Peters" <boyopeg@> wrote:
> >
> > With the newest version of JSLint I am having a frequent error on this code
block:
> >
> > if (typeof console==="undefined") {
> > console = {
> > log: function() {},
> > dir: function() {},
> > trace: function() {}
> > }
> > }
>
> Either turn off the Assume a Browser option, or add this comment:
>
> /*global console: true*/
>
Awesome, thanks!