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

Re: [jslint] Re: Function and property

Expand Messages
  • Jakob Kruse
    Yet anoher example of the confusion option leading to just that (confusion). /Jakob ... [Non-text portions of this message have been removed]
    Message 1 of 5 , Jun 26, 2011
    • 0 Attachment
      Yet anoher example of the confusion option leading to just that (confusion).

      /Jakob

      On 26/06/2011, at 13.16, "IceBox" <albertosantini@...> wrote:

      >
      >
      > --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
      > >
      > > You are using .format as a function and as a string.
      > >
      > > You should select the Tolerate type confusion option.
      > >
      >
      > I resolved using the following approach:
      >
      > var YDateFormat = Y.DataType.Date.format;
      > ...
      > YDateFormat(ld, {'format': "%a, %b %d, %H:%M"});
      >
      > Regards,
      > Alberto
      >
      >


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.