Commit 381dfda
committed
chore(js): remove Array.prototype.flat polyfill
Array.prototype.flat has been supported natively since Chrome 69,
Firefox 62, Safari 12 (2018), and Edge 79. The polyfill was originally
added for iOS < 12 support, which is no longer a target for Flarum 2.x.
Removing it saves ~8.5 KiB from the bundled forum.js output.1 parent 0b0924a commit 381dfda
6 files changed
Lines changed: 4 additions & 25 deletions
File tree
- framework/core/js
- dist
- src/common
- utils
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
This file was deleted.
0 commit comments