Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jun 1, 2017
1 parent abc229e commit 872e1c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
16 changes: 1 addition & 15 deletions closure.log
Original file line number Diff line number Diff line change
Expand Up @@ -562,22 +562,8 @@ polymer.html_script_32.js:297: WARNING - Cannot add property selectedItem to a s
this.selected = this.selectedItem = item;
^^^^^^^^^^^^^^^^^

polymer.html_script_33.js:47: WARNING - Returned type does not match declared return type.
Expected : HTMLStyleElement|null
Found : undefined

return;
^^^^^^^

polymer.html_script_33.js:55: WARNING - Returned type does not match declared return type.
Expected : HTMLStyleElement|null
Found : Element

return this._style;
^^^^^^^^^^^^^^^^^^^

polymer.html_script_34.js:5: WARNING - Property _mutablePropertyChange never defined on Polymer.MutableData of type function(?):?
let mutablePropertyChange = Polymer.MutableData._mutablePropertyChange;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 error(s), 126 warning(s), 75.3% typed
0 error(s), 124 warning(s), 75.3% typed
4 changes: 2 additions & 2 deletions lib/elements/custom-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
if (this._style) {
return this._style;
}
const style = this.querySelector('style');
const style = /** @type {HTMLStyleElement} */(this.querySelector('style'));
if (!style) {
return;
return null;
}
this._style = style;
const include = style.getAttribute(attr);
Expand Down

0 comments on commit 872e1c2

Please sign in to comment.