Skip to content

Commit

Permalink
remove promise polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
cgdibble committed Nov 29, 2023
1 parent bee0419 commit 936157b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 23 deletions.
13 changes: 0 additions & 13 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"typescript": "^5.1.6"
},
"dependencies": {
"promise-polyfill": "^8.3.0"
},
"jest": {
"testEnvironment": "jsdom",
Expand Down
7 changes: 0 additions & 7 deletions src/lib/promise.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/load-script.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { PromiseGlobal as Promise } from "./lib/promise";
import { LoadScriptOptions } from "./types";

let scriptPromiseCache = {} as Record<string, Promise<HTMLScriptElement>>;
Expand Down
1 change: 0 additions & 1 deletion src/load-stylesheet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { PromiseGlobal as Promise } from "./lib/promise";
import { LoadStylesheetOptions } from "./types";

export = function loadStylesheet(
Expand Down

0 comments on commit 936157b

Please sign in to comment.