Skip to content

Commit

Permalink
MDL-73915 js: Drop support for IE and android
Browse files Browse the repository at this point in the history
Moodle announced that support for IE would be dropped back in August
2020 with Moodle 3.9 but not active steps were taken at that time. That
decision was made in MDLSITE-6109 and this particular step was meant to
be taken in Moodle 3.10.

This is the first step taken to actively drop support for IE.

This commit also bumps the browser support pattern from 0.25% to 0.3%.
The percentage here includes any browser where at least this percentage
of users worldwide may be using a browser. In this case it causes
support for Android 4.3-4.4 to be dropped, which relate to Android
KitKat (released 2013).

This combination of changes means that all of the supported browsers in
our compatibility list support modern features including async,
for...of, classes, native Promises, and more which has a huge impact on
the ease of debugging code, and drastically reduces the minified file
size because a number of native Polyfills included by Babel are no
longer included.
  • Loading branch information
andrewnicols committed Feb 23, 2022
1 parent 0a4047a commit e1b9d5f
Show file tree
Hide file tree
Showing 544 changed files with 1,196 additions and 616 deletions.
4 changes: 2 additions & 2 deletions .grunt/tasks/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ module.exports = grunt => {
['@babel/preset-env', {
targets: {
browsers: [
">0.25%",
">0.3%",
"last 2 versions",
"not ie <= 10",
"not ie >= 0",
"not op_mini all",
"not Opera > 0",
"not dead"
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/analytics/amd/build/potential-contexts.min.js

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

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

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

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/jsrunner.min.js

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

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/jsrunner.min.js.map

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

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/loader.min.js

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

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/loader.min.js.map

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

4 changes: 2 additions & 2 deletions admin/tool/componentlibrary/amd/build/lunr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/lunr.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit e1b9d5f

Please sign in to comment.