Update std.js

This commit is contained in:
Namhyeon Go 2022-05-10 11:46:12 +09:00 committed by GitHub
parent 51389c7780
commit f79dce48d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,13 +316,13 @@ function StdEvent(type) {
this.defaultPrevented = false;
this.timeStamp = new Date();
this.type = type;
this.isTrusted = true;
this.cancelable = true;
this.isTrusted = true;
this.cancelable = true;
this.target = null;
this.currentTarget = null;
this.eventPhase = StdEvent.NONE;
this.bubbles = false; // Not used but to be compatible
this.composed = false; // Not used but to be compatible
this.currentTarget = null;
this.eventPhase = StdEvent.NONE;
this.bubbles = false; // Not used but to be compatible
this.composed = false; // Not used but to be compatible
this.preventDefault = function() {
this.defaultPrevented = true;