Skip to content

Commit 540f65d

Browse files
author
catch
committed
Issue #3334920 by Spokje, smustgrave: Remove references to modernizer
1 parent 1dcdbb9 commit 540f65d

File tree

7 files changed

+3
-40
lines changed

7 files changed

+3
-40
lines changed

.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"_": true,
2222
"Cookies": true,
2323
"Backbone": true,
24-
"Modernizr": true,
2524
"loadjs": true,
2625
"Shepherd": true,
2726
"Sortable": true,

.eslintrc.legacy.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"jQuery": true,
1313
"_": true,
1414
"matchMedia": true,
15-
"Backbone": true,
16-
"Modernizr": true
15+
"Backbone": true
1716
},
1817
"rules": {
1918
"array-bracket-spacing": ["error", "never"],

COPYRIGHT.txt

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ JavaScript
3636

3737
LoadJS - Copyright (c) 2015 Andres Morey
3838

39-
Modernizr - Copyright (c) 2021 The Modernizr Team
40-
4139
Shepherd - Copyright (c) 2021
4240

4341
Sortable - Copyright (c) 2019 All contributors to Sortable

assets/vendor/modernizr/README.md

-15
This file was deleted.

assets/vendor/modernizr/modernizr.min.js

-3
This file was deleted.

core.libraries.yml

-15
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,6 @@ drupal.touchevents-test:
712712
header: true
713713
version: VERSION
714714
js:
715-
# Set weight to -21 so it loads alongside Modernizr, the library previously
716-
# responsible for this detection.
717715
misc/touchevents-test.js: { weight: -21 }
718716

719717
drupal.vertical-tabs:
@@ -774,19 +772,6 @@ drupal.jquery.position:
774772
dependencies:
775773
- core/jquery
776774

777-
modernizr:
778-
# Block the page from being loaded until Modernizr is initialized.
779-
header: true
780-
remote: https://github.com/Modernizr/Modernizr
781-
license:
782-
name: MIT
783-
url: https://modernizr.com/license/
784-
gpl-compatible: true
785-
version: "3.11.7"
786-
js:
787-
assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true }
788-
deprecated: The %library_id% asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3333253
789-
790775
normalize:
791776
remote: https://github.com/necolas/normalize.css
792777
version: "8.0.1"

scripts/js/vendor-update.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* Copy files for JS vendor dependencies from node_modules to the assets/vendor
44
* folder.
55
*
6-
* This script handles all dependencies except CKEditor and Modernizr, which
7-
* require a custom build step.
6+
* This script handles all dependencies except CKEditor, which require a custom
7+
* build step.
88
*/
99

1010
const path = require('path');

0 commit comments

Comments
 (0)