Skip to content
Permalink
Browse files

make writable

  • Loading branch information...
acconrad committed May 26, 2019
1 parent 753bf99 commit a9b9fac460d361fef18cc45792d5423988dc0c6b
Showing with 4 additions and 2 deletions.
  1. +4 −2 js/event_target.ts
@@ -537,7 +537,8 @@ export class EventTarget implements domTypes.EventTarget {
* interceptable JavaScript operations.
*/
Reflect.defineProperty(EventTarget.prototype, "host", {
enumerable: true
enumerable: true,
writable: true
});
Reflect.defineProperty(EventTarget.prototype, "listeners", {
enumerable: true,
@@ -548,7 +549,8 @@ Reflect.defineProperty(EventTarget.prototype, "mode", {
writable: true
});
Reflect.defineProperty(EventTarget.prototype, "nodeType", {
enumerable: true
enumerable: true,
writable: true
});
Reflect.defineProperty(EventTarget.prototype, "addEventListener", {
enumerable: true

0 comments on commit a9b9fac

Please sign in to comment.
You can’t perform that action at this time.