mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 19:20:08 +08:00
* --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm ... Signed-off-by: dependabot[bot] <support@github.com> * Update checked-in dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
25 lines
573 B
JavaScript
25 lines
573 B
JavaScript
"use strict";
|
|
|
|
function Event(type, bubbles, cancelable, target) {
|
|
this.initEvent(type, bubbles, cancelable, target);
|
|
}
|
|
|
|
Event.prototype = {
|
|
initEvent: function (type, bubbles, cancelable, target) {
|
|
this.type = type;
|
|
this.bubbles = bubbles;
|
|
this.cancelable = cancelable;
|
|
this.target = target;
|
|
this.currentTarget = target;
|
|
},
|
|
|
|
// eslint-disable-next-line no-empty-function
|
|
stopPropagation: function () {},
|
|
|
|
preventDefault: function () {
|
|
this.defaultPrevented = true;
|
|
},
|
|
};
|
|
|
|
module.exports = Event;
|