Update std.js

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

View File

@ -329,7 +329,7 @@ function StdEvent(type) {
};
// Not used but to be compatible
this.initEvent(type, bubbles, cancelable) {
this.initEvent = function(type, bubbles, cancelable) {
this.type = type;
this.bubbles = bubbles;
this.cancelable = cancelable;