paper-item icon indicating copy to clipboard operation
paper-item copied to clipboard

[1.x] analyzer warning: ScannedBehavior has both HTML doc and JSDoc comments

Open web-padawan opened this issue 8 years ago • 0 comments
trafficstars

Description

The following warning is produced by polymer-analyzer:

  Polymer.PaperItemBehaviorImpl = {
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    hostAttributes: {
~~~~~~~~~~~~~~~~~~~~~
      role: 'option',
~~~~~~~~~~~~~~~~~~~~~
      tabindex: '0'
~~~~~~~~~~~~~~~~~~~
    }
~~~~~
  };
~~~~

The reason is this issue

Actually behaviors should only have a JSDoc comment, so I suggest getting rid of HTML comment at all.

web-padawan avatar Jul 14 '17 07:07 web-padawan