Skip to content

Commit

Permalink
Use closure-safe name
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Nov 14, 2018
1 parent f3b6675 commit ed5f7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/legacy/class.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function GenerateClassFromInfo(info, Base, behaviors) {
// explicitly not calling super._finalizeClass
static _finalizeClass() {
// if calling via a subclass that hasn't been generated, pass through to super
if (!this.hasOwnProperty('generatedFrom')) {
if (!this.hasOwnProperty(window.JSCompiler_renameProperty('generatedFrom', this))) {
super._finalizeClass();
} else {
// interleave properties and observers per behavior and `info`
Expand Down

0 comments on commit ed5f7f2

Please sign in to comment.