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

unexpected /*member

Expand Messages
  • samckayak
    JSLint warns: unexpected /*member when I add a new function to an object. What is this warning about? Sam
    Message 1 of 2 , Nov 27, 2009
    • 0 Attachment
      JSLint warns: unexpected /*member

      when I add a new function to an object. What is this warning about?

      Sam
    • Douglas Crockford
      ... You have a /*member */ comment that lists all of the allowed member names, and you are declaring a member name that is not on the list.
      Message 2 of 2 , Nov 28, 2009
      • 0 Attachment
        --- In jslint_com@yahoogroups.com, "samckayak" <samc@...> wrote:
        >
        > JSLint warns: unexpected /*member
        >
        > when I add a new function to an object. What is this warning about?

        You have a /*member */ comment that lists all of the allowed member names, and you are declaring a member name that is not on the list.
      Your message has been successfully submitted and would be delivered to recipients shortly.