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

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

Expand Messages
  • Douglas Crockford
    Jan 21, 2011
      --- 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.
    • Show all 4 messages in this topic