Loading ...
Sorry, an error occurred while loading the content.

Re: I can't appease JSLint on whitespace in a “var” statement

Expand Messages
  • Zhami
    Thanks for addressing this so quickly!
    Message 1 of 4 , Jan 21, 2011
    • 0 Attachment
      Thanks for addressing this so quickly!

      --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
      >
      > --- In jslint_com@yahoogroups.com, "Zhami" <stuart@> wrote:
      > >
      > > All of my code, which used to run 100% clean with JSLint, now reports errors with every var statement, and I can't figure out how to fix.
      > >
      > > Consider this (hollowed out) example/snippert:
      > >
      > > var dateStrFromTimestamp;
      > > dateStrFromTimestamp = function (t) {
      > > "use strict";
      > > var a, d;
      > > d = new Date(t * 1000);
      > > a = [];
      > > };
      > >
      >
      > Thanks. Please try it now.
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.