-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
197 additions
and
182 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 |
---|---|---|
|
@@ -10,187 +10,187 @@ Initial **3Kb** to polyfill a lot of Stuff! | |
|
||
Add this script on the top of your page: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/nuxodin/[email protected].5/mod.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/nuxodin/[email protected].6/mod.min.js"></script> | ||
``` | ||
**done!** | ||
|
||
# Polyfills | ||
|
||
(Anything missing? Any suggestions?) | ||
|
||
|
||
|
||
<ul> | ||
<li> | ||
Window | ||
<ul> | ||
<li>URLPattern | ||
<li>fetch | ||
<li>Promise | ||
<li>IntersectionObserver | ||
<li>ResizeObserver | ||
<li>AbortController | ||
<li>URLSearchParams | ||
<li>WeakSet | ||
<li>cancelIdleCallback | ||
<li>cookieStore | ||
<li>customElements | ||
<li>requestIdleCallback | ||
<li>structuredClone | ||
<li>ReadableStream | ||
</ul> | ||
<li> | ||
Intl.DateTimeFormat | ||
<ul> | ||
<li>formatToParts | ||
</ul> | ||
<li> | ||
Intl | ||
<ul> | ||
<li>DisplayNames | ||
<li>ListFormat | ||
<li>Locale | ||
<li>PluralRules | ||
<li>RelativeTimeFormat | ||
<li>getCanonicalLocales | ||
</ul> | ||
<li> | ||
Element | ||
<ul> | ||
<li>isVisible | ||
<li>matches | ||
<li>closest | ||
<li>prepend | ||
<li>append | ||
<li>before | ||
<li>after | ||
<li>replaceWidth | ||
<li>remove | ||
<li>blur | ||
<li>focus | ||
<li>classList | ||
<li>getElementsByClassName | ||
<li>children | ||
<li>toggleAttribute | ||
<li>scrollIntoViewIfNeeded | ||
<li>setHTML | ||
</ul> | ||
<li> | ||
Array | ||
<ul> | ||
<li>from | ||
<li>of | ||
<li>at | ||
<li>copyWithin | ||
<li>entries | ||
<li>fill | ||
<li>find | ||
<li>findIndex | ||
<li>findLast | ||
<li>findLastIndex | ||
<li>flat | ||
<li>flatMap | ||
<li>includes | ||
<li>keys | ||
<li>values | ||
</ul> | ||
<li> | ||
CSS | ||
<ul> | ||
<li>escape | ||
<li>registerProperty | ||
<li>supports | ||
</ul> | ||
<li> | ||
HTMLDocument | ||
<ul> | ||
<li>currentScript | ||
<li>caretRangeFromPoint | ||
</ul> | ||
<li> | ||
navigator | ||
<ul> | ||
<li>share | ||
</ul> | ||
<li> | ||
Node | ||
<ul> | ||
<li>contains | ||
<li>isConnected | ||
</ul> | ||
<li> | ||
HTMLFormElement | ||
<ul> | ||
<li>reportValidity | ||
<li>requestSubmit | ||
</ul> | ||
<li> | ||
HTMLInputElement | ||
<ul> | ||
<li>reportValidity | ||
</ul> | ||
<li> | ||
Math | ||
<ul> | ||
<li>trunc | ||
<li>sign | ||
</ul> | ||
<li> | ||
Number | ||
<ul> | ||
<li>isInteger | ||
</ul> | ||
<li> | ||
Object | ||
<ul> | ||
<li>assign | ||
<li>entries | ||
<li>fromEntries | ||
<li>is | ||
<li>values | ||
<li>hasOwn | ||
</ul> | ||
<li> | ||
Promise | ||
<ul> | ||
<li>allSettled | ||
<li>any | ||
</ul> | ||
<li> | ||
RegExp | ||
<ul> | ||
<li>flags | ||
</ul> | ||
<li> | ||
Sanitizer | ||
<li> | ||
String | ||
<ul> | ||
<li>fromCodePoint | ||
<li>at | ||
<li>codePointAt | ||
<li>endsWith | ||
<li>includes | ||
<li>padEnd | ||
<li>padStart | ||
<li>repeat | ||
<li>startsWith | ||
<li>replaceAll | ||
</ul> | ||
<li> | ||
SVGStyleElement | ||
<ul> | ||
<li>sheet | ||
</ul> | ||
<li> | ||
Crypto | ||
<ul> | ||
<li>randomUUID | ||
</ul> | ||
</ul> | ||
<ul> | ||
<li>addEventListener signal options | ||
<li>focus options | ||
<li>classList force toggle | ||
<li>Element.contains(TextNode) bug | ||
<li>Window | ||
<ul> | ||
<li>cookieStore | ||
<li>fetch | ||
<li>Promise | ||
<li>IntersectionObserver | ||
<li>ResizeObserver | ||
<li>AbortController | ||
<li>URLSearchParams | ||
<li>Temporal | ||
<li>temporal | ||
<li>customElements | ||
<li>structuredClone | ||
<li>URLPattern | ||
<li>ReadableStream | ||
<li>Sanitizer | ||
<li>requestIdleCallback | ||
<li>cancelIdleCallback | ||
<li>WeakSet | ||
</ul> | ||
<li>Element | ||
<ul> | ||
<li>setHTML | ||
<li>matches | ||
<li>closest | ||
<li>prepend | ||
<li>append | ||
<li>before | ||
<li>after | ||
<li>replaceWidth | ||
<li>remove | ||
<li>blur | ||
<li>focus | ||
<li>classList | ||
<li>getElementsByClassName | ||
<li>children | ||
<li>toggleAttribute | ||
<li>isVisible | ||
<li>scrollIntoViewIfNeeded | ||
</ul> | ||
<li>TypedArray | ||
<ul> | ||
<li>toReversed | ||
<li>toSorted | ||
<li>with | ||
</ul> | ||
<li>Array | ||
<ul> | ||
<li>toReversed | ||
<li>toSorted | ||
<li>with | ||
<li>toSpliced | ||
<li>from | ||
<li>of | ||
<li>at | ||
<li>copyWithin | ||
<li>entries | ||
<li>fill | ||
<li>find | ||
<li>findIndex | ||
<li>findLast | ||
<li>findLastIndex | ||
<li>flat | ||
<li>flatMap | ||
<li>includes | ||
<li>keys | ||
<li>values | ||
</ul> | ||
<li>Intl.DateTimeFormat | ||
<ul> | ||
<li>formatToParts | ||
</ul> | ||
<li>Intl | ||
<ul> | ||
<li>DisplayNames | ||
<li>ListFormat | ||
<li>Locale | ||
<li>PluralRules | ||
<li>RelativeTimeFormat | ||
<li>getCanonicalLocales | ||
</ul> | ||
<li>CSS | ||
<ul> | ||
<li>escape | ||
<li>registerProperty | ||
<li>supports | ||
</ul> | ||
<li>HTMLDocument | ||
<ul> | ||
<li>currentScript | ||
<li>caretRangeFromPoint | ||
</ul> | ||
<li>Node | ||
<ul> | ||
<li>contains | ||
<li>isConnected | ||
</ul> | ||
<li>HTMLElement | ||
<ul> | ||
<li>inert | ||
</ul> | ||
<li>HTMLFormElement | ||
<ul> | ||
<li>reportValidity | ||
<li>requestSubmit | ||
</ul> | ||
<li>HTMLInputElement | ||
<ul> | ||
<li>reportValidity | ||
</ul> | ||
<li>HTMLSlotElement | ||
<ul> | ||
<li>assignedElements | ||
</ul> | ||
<li>Math | ||
<ul> | ||
<li>trunc | ||
<li>sign | ||
</ul> | ||
<li>Navigator | ||
<ul> | ||
<li>share | ||
</ul> | ||
<li>Number | ||
<ul> | ||
<li>isInteger | ||
</ul> | ||
<li>Object | ||
<ul> | ||
<li>assign | ||
<li>entries | ||
<li>fromEntries | ||
<li>is | ||
<li>values | ||
<li>hasOwn | ||
</ul> | ||
<li>Promise | ||
<ul> | ||
<li>allSettled | ||
<li>any | ||
</ul> | ||
<li>RegExp | ||
<ul> | ||
<li>flags | ||
</ul> | ||
<li>String | ||
<ul> | ||
<li>fromCodePoint | ||
<li>at | ||
<li>codePointAt | ||
<li>endsWith | ||
<li>includes | ||
<li>padEnd | ||
<li>padStart | ||
<li>repeat | ||
<li>startsWith | ||
<li>replaceAll | ||
</ul> | ||
<li>SubmitEvent | ||
<ul> | ||
<li>submitter | ||
</ul> | ||
<li>SVGStyleElement | ||
<ul> | ||
<li>sheet | ||
</ul> | ||
<li>Crypto | ||
<ul> | ||
<li>randomUUID | ||
</ul> | ||
</ul> | ||
|
||
# How it works | ||
|
Oops, something went wrong.