-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ie11): Provide a polyfill feature without fetch (#3055)
- Loading branch information
1 parent
0505017
commit 9301783
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// CSS Custom Properties | ||
import cssVars from "css-vars-ponyfill/dist/css-vars-ponyfill.esm.js"; | ||
|
||
// String | ||
import "../thirdparty/es6-string-methods.js"; | ||
|
||
// Object | ||
import "../thirdparty/Object.entries.js"; | ||
|
||
// Array | ||
import "../thirdparty/Array.prototype.fill.js"; | ||
import "../thirdparty/Array.prototype.find.js"; | ||
import "../thirdparty/Array.prototype.findIndex.js"; | ||
import "../thirdparty/Array.prototype.includes.js"; | ||
|
||
// Map | ||
import "../thirdparty/Map.prototype.keys.js"; | ||
|
||
// Number | ||
import "../thirdparty/Number.isInteger.js"; | ||
import "../thirdparty/Number.isNaN.js"; | ||
import "../thirdparty/Number.parseFloat.js"; | ||
import "../thirdparty/Number.parseInt.js"; | ||
|
||
// Element | ||
import "../thirdparty/Element.prototype.matches.js"; | ||
import "../thirdparty/Element.prototype.closest.js"; | ||
|
||
// WeakSet | ||
import "../thirdparty/WeakSet.js"; | ||
|
||
// async - await | ||
import "regenerator-runtime/runtime.js"; | ||
|
||
// URLSearchParams | ||
import "url-search-params-polyfill/index.js"; | ||
|
||
// "pseudo mutation observer" fix for nodeValue | ||
import "../patchNodeValue.js"; | ||
|
||
// Hook with the framework | ||
import "../integrate.js"; | ||
|
||
window.CSSVarsPonyfill = { | ||
cssVars, | ||
}; |