Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Oct 19, 2017
1 parent 819652e commit 092b210
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions closure.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
gulp-google-closure-compiler: polymer.html_script_13.js:621: WARNING - Invalid type for parameter 4 of function processElementStyles.
Expected : string
Found : (string|undefined)
More details:
The found type is a union that includes an unexpected type: undefined
processElementStyles(this, template, is, ext, baseURI);
^^^

polymer.html_script_6.js:36: WARNING - Type annotation references non-existent type array.
* @return {array} Array of contained <style> elements
^^^^^

polymer.html_script_6.js:56: WARNING - Type annotation references non-existent type array.
* @return {array} Array of contained styles.
^^^^^

polymer.html_script_6.js:85: WARNING - Type annotation references non-existent type array.
* @return {array} Array of styles
^^^^^

polymer.html_script_6.js:119: WARNING - Type annotation references non-existent type array.
* @return {array} Array of contained styles.
^^^^^

polymer.html_script_6.js:131: WARNING - Type annotation references non-existent type array.
* @return {array} Array of contained styles
^^^^^

0 error(s), 6 warning(s), 77.7% typed
2 changes: 1 addition & 1 deletion lib/utils/style-gather.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
const MODULE_STYLE_LINK_SELECTOR = 'link[rel=import][type~=css]';
const INCLUDE_ATTR = 'include';
const SHADY_UNSCOPED_ATTR = 'shady-unscoped';
const unscopedStyleImportsMap = new WeakMap();

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

0 comments on commit 092b210

Please sign in to comment.