jsl:option explicit is white space sensitive

  • R. Schreurs

    R. Schreurs - 2012-08-06

    Today, I wanted to check for undeclared variables in a javascript file. I added /* jsl:option explicit */ on a single line.

    This option is ignored if there is a space between /* and jsl:option.

    If there is a space between explicit and */, or there are two spaces between jsl:option and explicit, the following warning is shown:
    "lint warning: couldn't understand control comment using /*jsl:keyword*/ syntax"

    It would be nice if jsl were insensitive to white space.

  • Matthias Miller

    Matthias Miller - 2013-09-28

    This has been fixed in the latest trunk.


Log in to post a comment.