Skip to content

Commit d2bdf68

Browse files
Quote the getStyle method of the custom style element.
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.
1 parent 745ddde commit d2bdf68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elements/custom-style.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
*
7878
* @return {HTMLStyleElement} This element's light-DOM `<style>`
7979
*/
80-
getStyle() {
80+
'getStyle'() {
8181
if (this._style) {
8282
return this._style;
8383
}

0 commit comments

Comments
 (0)