mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
remove isTrusted
's setter (#2006)
This commit is contained in:
parent
989e86c8de
commit
8c770c5a90
1 changed files with 0 additions and 14 deletions
14
js/event.ts
14
js/event.ts
|
@ -91,20 +91,6 @@ export class Event implements domTypes.Event {
|
|||
return getPrivateValue(this, eventAttributes, "isTrusted");
|
||||
}
|
||||
|
||||
set isTrusted(value) {
|
||||
eventAttributes.set(this, {
|
||||
type: this.type,
|
||||
bubbles: this.bubbles,
|
||||
cancelable: this.cancelable,
|
||||
composed: this.composed,
|
||||
currentTarget: this.currentTarget,
|
||||
eventPhase: this.eventPhase,
|
||||
isTrusted: value,
|
||||
target: this.target,
|
||||
timeStamp: this.timeStamp
|
||||
});
|
||||
}
|
||||
|
||||
get target(): domTypes.EventTarget {
|
||||
return getPrivateValue(this, eventAttributes, "target");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue