Skip to content

Commit

Permalink
Chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Mar 29, 2018
1 parent fdbfdb7 commit 1b8b48e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 4 deletions.
14 changes: 14 additions & 0 deletions dist/abort-controller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/abort-controller.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions dist/abort-controller.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ Object.defineProperties(AbortSignal.prototype, {
},
});

if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") { //eslint-disable-line node/no-unsupported-features
Object.defineProperty(AbortSignal.prototype, Symbol.toStringTag, { //eslint-disable-line node/no-unsupported-features
configurable: true,
value: "AbortSignal",
});
}

defineEventAttribute(AbortSignal.prototype, "abort");

/**
Expand Down Expand Up @@ -139,6 +146,13 @@ Object.defineProperties(AbortController.prototype, {
abort: { enumerable: true },
});

if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") { //eslint-disable-line node/no-unsupported-features
Object.defineProperty(AbortController.prototype, Symbol.toStringTag, { //eslint-disable-line node/no-unsupported-features
configurable: true,
value: "AbortController",
});
}

export default AbortController;
export { AbortController, AbortSignal };
//# sourceMappingURL=abort-controller.mjs.map
Loading

0 comments on commit 1b8b48e

Please sign in to comment.