Skip to content

Commit ed5f7f2

Browse files
author
Steven Orvell
committed
Use closure-safe name
1 parent f3b6675 commit ed5f7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/legacy/class.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function GenerateClassFromInfo(info, Base, behaviors) {
194194
// explicitly not calling super._finalizeClass
195195
static _finalizeClass() {
196196
// if calling via a subclass that hasn't been generated, pass through to super
197-
if (!this.hasOwnProperty('generatedFrom')) {
197+
if (!this.hasOwnProperty(window.JSCompiler_renameProperty('generatedFrom', this))) {
198198
super._finalizeClass();
199199
} else {
200200
// interleave properties and observers per behavior and `info`

0 commit comments

Comments
 (0)