Skip to content

Commit 18adf5f

Browse files
committed
Avoid lint warnings.
1 parent 4f9fda0 commit 18adf5f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/elements/dom-if.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ class DomIfBase extends PolymerElement {
268268
}
269269
}
270270

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

300303
/**
301304
* Abstract API to be implemented by subclass: Removes nodes created by an
@@ -315,6 +318,7 @@ class DomIfBase extends PolymerElement {
315318
* @return {void}
316319
*/
317320
_showHideChildren() { }
321+
/* eslint-enable valid-jsdoc */
318322
}
319323

320324
/**

0 commit comments

Comments
 (0)