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

Re: substring and substr

Expand Messages
  • montago_2004
    ... What also would be VERY nice, was warnings (AND I UTTERLY MEAN WARNING, NOT ERROR) - for any function/pattern which isn t crossbrowser friendly some
    Message 1 of 2 , Aug 27, 2008
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Jacob Davenport" <jacob@...> wrote:
      >
      > I notice that you recommend in your book not to use substring (and you
      > don't even mention the deprecated substr) and to use slice instead. I
      > have the dead tree version of JS:tGP, so I can't quickly search for
      > those magical words "use YYY instead".
      >
      > Have you considered changing JSLint to offer such recommendations?
      >

      What also would be VERY nice, was warnings (AND I UTTERLY MEAN
      WARNING, NOT ERROR) - for any function/pattern which isn't
      crossbrowser friendly

      some methods are FF-only, some are Opera-only, some are IE-only etc...

      a helping hand would be nice...

      so "warning", not "error"
    Your message has been successfully submitted and would be delivered to recipients shortly.