Skip to content

Commit

Permalink
Avoid lint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jul 3, 2019
1 parent 4f9fda0 commit 18adf5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/elements/dom-if.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ class DomIfBase extends PolymerElement {
}
}

// Ideally these would be annotated as abstract methods in an abstract class,
// but closure compiler is finnicky
/* eslint-disable valid-jsdoc */
/**
* Abstract API to be implemented by subclass: Returns true if a template
* instance has been created and inserted.
Expand Down Expand Up @@ -295,7 +298,7 @@ class DomIfBase extends PolymerElement {
* @param {Node} parentNode The parent node to insert the instance into
* @return {void}
*/
__createAndInsertInstance(parentNode) { }
__createAndInsertInstance(parentNode) { } // eslint-disable-line no-unused-vars

/**
* Abstract API to be implemented by subclass: Removes nodes created by an
Expand All @@ -315,6 +318,7 @@ class DomIfBase extends PolymerElement {
* @return {void}
*/
_showHideChildren() { }
/* eslint-enable valid-jsdoc */
}

/**
Expand Down

0 comments on commit 18adf5f

Please sign in to comment.