Skip to content

Commit 33c4794

Browse files
authored
Fix issue with Closure Compiler and PR 470 (#476)
1 parent 928b027 commit 33c4794

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2121
### Fixed
2222
* Fixed a bug where we broke compatibility with closure compiler's property renaming optimizations. JSCompiler_renameProperty can't be a module export ([#465](https://github.com/Polymer/lit-element/pull/465)).
2323
* Fixed an issue with inheriting from `styles` property when extending a superclass that is never instanced. ([#470](https://github.com/Polymer/lit-element/pull/470)).
24+
* Fixed an issue with Closure Compiler and ([#470](https://github.com/Polymer/lit-element/pull/470)) ([#476](https://github.com/Polymer/lit-element/pull/476)).
2425

2526
## [2.0.0-rc.3] - 2019-01-18
2627
### Fixed

src/lit-element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export class LitElement extends UpdatingElement {
7070

7171
private static _styles: CSSResult[]|undefined;
7272

73+
/** @nocollapse */
7374
protected static finalize() {
7475
super.finalize();
7576
// Prepare styling that is stamped at first render time. Styling
@@ -79,6 +80,7 @@ export class LitElement extends UpdatingElement {
7980
this._styles || [];
8081
}
8182

83+
/** @nocollapse */
8284
private static _getUniqueStyles(): CSSResult[] {
8385
// Take care not to call `this.styles` multiple times since this generates
8486
// new CSSResults each time.

0 commit comments

Comments
 (0)