fix(upgrade): use quote to prevent ClossureCompiler obfuscating $event. (#16724)
This is critical for AngularJS to get the $event object in template.
This commit is contained in:
parent
abb36e3cba
commit
44c7ac0fe9
|
@ -165,7 +165,7 @@ export class DowngradeComponentAdapter {
|
|||
next: assignExpr ?
|
||||
((setter: any) => (v: any /** TODO #9100 */) => setter(this.scope, v))(setter) :
|
||||
((getter: any) => (v: any /** TODO #9100 */) =>
|
||||
getter(this.scope, {$event: v}))(getter)
|
||||
getter(this.scope, {'$event': v}))(getter)
|
||||
});
|
||||
} else {
|
||||
throw new Error(
|
||||
|
|
Loading…
Reference in New Issue