WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28236, comment 8


Ignore:
Timestamp:
05/14/2014 06:37:59 PM (6 years ago)
Author:
scott.gonzalez
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28236, comment 8

    initial v1  
    44> OK, expanded example:
    55
    6 JSHint will actually complain that `a` is already defined in that scenario. If you want to prove that `onevar` isn't a style-related option, you should test it against JSHint and make your case to the maintainers of JSHint. Arguing it here isn't going to help the situation in any way.
     6JSHint will actually complain that `a` is already defined in that scenario. Anyway, if your intention is to show that this block doesn't do what you expect because you're overwriting `a`, using `onevar` won't stop that logical mistake.
     7
     8If you want to prove that `onevar` isn't a style-related option, you should test it against JSHint and make your case to the maintainers of JSHint. Arguing it here isn't going to help the situation in any way.