Skip to content

Commit d74aa82

Browse files
author
Steven Orvell
committed
Use closure-safe name
1 parent db4dbf8 commit d74aa82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/legacy/class.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
// explicitly not calling super._finalizeClass
197197
static _finalizeClass() {
198198
// if calling via a subclass that hasn't been generated, pass through to super
199-
if (!this.hasOwnProperty('generatedFrom')) {
199+
if (!this.hasOwnProperty(window.JSCompiler_renameProperty('generatedFrom', this))) {
200200
super._finalizeClass();
201201
} else {
202202
// interleave properties and observers per behavior and `info`

0 commit comments

Comments
 (0)