Skip to content
This repository has been archived by the owner on Sep 28, 2019. It is now read-only.

Commit

Permalink
Let the analyzer infer the names of behaviors (#51)
Browse files Browse the repository at this point in the history
By explicitly having the name on the Impl, the analyzer was taking the annotation at its word, but missing that it used IronSelectableBehavior.

Fixes https://github.com/Polymer/polymer-linter/issues/70
  • Loading branch information
rictic authored and TimvdLippe committed Mar 31, 2017
1 parent 54b05c4 commit 1330ecf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iron-lazy-pages-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="import" href="../iron-selector/iron-selectable.html">

<script>
/** @polymerBehavior Polymer.IronLazyPagesBehavior */
/** @polymerBehavior */
Polymer.IronLazyPagesBehaviorImpl = {
properties: {
// as the selected page is the only one visible, activateEvent
Expand Down Expand Up @@ -114,6 +114,7 @@
}
};

/** @polymerBehavior */
Polymer.IronLazyPagesBehavior = [
Polymer.IronSelectableBehavior,
Polymer.IronLazyPagesBehaviorImpl
Expand Down

0 comments on commit 1330ecf

Please sign in to comment.