diff options
author | 迷渡 <justjavac@gmail.com> | 2019-03-27 20:38:49 +0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-27 08:38:49 -0400 |
commit | 8c770c5a90d4c0c48256f17371a5de6604270031 (patch) | |
tree | 8077aea29cb1e9d5cc496114d0f85f781adc5ece /js | |
parent | 989e86c8de70b75dcb89abf119879b55a80eb008 (diff) |
remove `isTrusted`'s setter (#2006)
Diffstat (limited to 'js')
-rw-r--r-- | js/event.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/js/event.ts b/js/event.ts index 8cd4d22d3..dc39a3c83 100644 --- a/js/event.ts +++ b/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"); } |