Skip to content

Commit

Permalink
Quote the getStyle method of the custom style element.
Browse files Browse the repository at this point in the history
The method is referenced as a quoted property in ShadyCSS and so needs to be quoted here to ensure closure compiler ADVANCED mode property renaming does not rename this method.
  • Loading branch information
ChadKillingsworth committed Feb 17, 2019
1 parent 745ddde commit d2bdf68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elements/custom-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
*
* @return {HTMLStyleElement} This element's light-DOM `<style>`
*/
getStyle() {
'getStyle'() {
if (this._style) {
return this._style;
}
Expand Down

0 comments on commit d2bdf68

Please sign in to comment.