Skip to content

Commit 092b210

Browse files
author
Steven Orvell
committed
Lint fixes
1 parent 819652e commit 092b210

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

closure.log

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
gulp-google-closure-compiler: polymer.html_script_13.js:621: WARNING - Invalid type for parameter 4 of function processElementStyles.
2+
Expected : string
3+
Found : (string|undefined)
4+
More details:
5+
The found type is a union that includes an unexpected type: undefined
6+
processElementStyles(this, template, is, ext, baseURI);
7+
^^^
8+
9+
polymer.html_script_6.js:36: WARNING - Type annotation references non-existent type array.
10+
* @return {array} Array of contained <style> elements
11+
^^^^^
12+
13+
polymer.html_script_6.js:56: WARNING - Type annotation references non-existent type array.
14+
* @return {array} Array of contained styles.
15+
^^^^^
16+
17+
polymer.html_script_6.js:85: WARNING - Type annotation references non-existent type array.
18+
* @return {array} Array of styles
19+
^^^^^
20+
21+
polymer.html_script_6.js:119: WARNING - Type annotation references non-existent type array.
22+
* @return {array} Array of contained styles.
23+
^^^^^
24+
25+
polymer.html_script_6.js:131: WARNING - Type annotation references non-existent type array.
26+
* @return {array} Array of contained styles
27+
^^^^^
28+
29+
0 error(s), 6 warning(s), 77.7% typed

lib/utils/style-gather.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
const MODULE_STYLE_LINK_SELECTOR = 'link[rel=import][type~=css]';
1616
const INCLUDE_ATTR = 'include';
1717
const SHADY_UNSCOPED_ATTR = 'shady-unscoped';
18-
const unscopedStyleImportsMap = new WeakMap();
1918

2019
function importModule(moduleId) {
2120
const /** Polymer.DomModule */ PolymerDomModule = customElements.get('dom-module');
@@ -92,6 +91,7 @@
9291
*
9392
* @memberof Polymer.StyleGather
9493
* @param {HTMLTemplateElement} template Template to gather styles from
94+
* @param {string} baseURI baseURI for style content
9595
* @return {array} Array of styles
9696
* @this {StyleGather}
9797
*/

0 commit comments

Comments
 (0)