mirror of
https://github.com/Azure/setup-helm.git
synced 2026-07-11 10:41:37 +00:00
a517f2ff65
Co-authored-by: taakleton <taakleton@users.noreply.github.com>
22 lines
490 B
JavaScript
22 lines
490 B
JavaScript
"use strict";
|
|
|
|
const EventImpl = require("./Event-impl").implementation;
|
|
|
|
const CustomEventInit = require("../generated/CustomEventInit");
|
|
|
|
class CustomEventImpl extends EventImpl {
|
|
initCustomEvent(type, bubbles, cancelable, detail) {
|
|
if (this._dispatchFlag) {
|
|
return;
|
|
}
|
|
|
|
this.initEvent(type, bubbles, cancelable);
|
|
this.detail = detail;
|
|
}
|
|
}
|
|
CustomEventImpl.defaultInit = CustomEventInit.convert(undefined);
|
|
|
|
module.exports = {
|
|
implementation: CustomEventImpl
|
|
};
|