8000 docs: rm fastly from intl-segmenter (#5017) · formatjs/formatjs@7e758ad · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e758ad

Browse files
authored
docs: rm fastly from intl-segmenter (#5017)
### TL;DR Removed the polyfill-fastly.io section from the Intl.Segmenter documentation. ### What changed? Removed the "Via polyfill-fastly.io" section from the Intl.Segmenter polyfill documentation, which included instructions and an example HTML script tag for using polyfill-fastly.io to load the Intl.Segmenter polyfill. ### How to test? 1. Navigate to the Intl.Segmenter documentation page 2. Verify that the polyfill-fastly.io section no longer appears 3. Confirm that the "Simple" usage section is still present and appears directly after the "Usage" heading ### Why make this change? This change likely removes references to polyfill-fastly.io service that may be deprecated, no longer recommended, or to simplify the documentation by focusing on the direct implementation approach. This ensures users follow the current best practices for implementing the Intl.Segmenter polyfill.
1 parent a5b9916 commit 7e758ad

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

website/docs/polyfills/intl-segmenter.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,6 @@ Everything in [intl-segmenter proposal](https://tc39.es/proposal-intl-segmenter)
4242

4343
## Usage
4444

45-
### Via polyfill-fastly.io
46-
47-
You can use [polyfill-fastly.io URL Builder](https://polyfill-fastly.io/) to create a polyfill script tag for `Intl.Segmenter`.
48-
For example:
49-
50-
```html
51-
<!-- Polyfill Intl.Segmenter-->
52-
<script src="https://polyfill-fastly.io/v3/polyfill.min.js?features=Intl.Segmenter"></script>
53-
```
54-
5545
### Simple
5646

5747
```tsx

0 commit comments

Comments
 (0)
0