From e99b65af67c4bd806b5c407d7a4cda12a1f74936 Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 8 Dec 2020 06:01:05 +0100 Subject: [PATCH] Added CDN: cdn.materialdesignicons.com (#198) --- core/constants.js | 1 + core/mappings.js | 8 +++++++- pages/updates/updates.html | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/constants.js b/core/constants.js index 9e1b5e24..fe2cb612 100644 --- a/core/constants.js +++ b/core/constants.js @@ -245,6 +245,7 @@ const CDNs = { 'vjs.zencdn.net': 'Video.js CDN', 'cdn.plyr.io': 'Plyr CDN', 'www.gstatic.com': 'gstatic.com', + 'cdn.materialdesignicons.com': 'MaterialDesign' }; const IgnoredHost = { diff --git a/core/mappings.js b/core/mappings.js index 8bdb9da5..cc110a69 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -29,7 +29,7 @@ var mappings = {}; * This only needs to be updated when new domains are added. * It's not necessary for subdirectories! */ -mappings.lastMappingUpdate = '2020-11-08'; +mappings.lastMappingUpdate = '2020-12-08'; mappings.cdn = { @@ -909,6 +909,12 @@ mappings.cdn = { '/': { 'charts/loader.js': resources.googleCharts } + }, + // MaterialDesign (https://github.com/Templarian/MaterialDesign) + 'cdn.materialdesignicons.com': { + '/': { + '{version}/css/materialdesignicons.min.css': resources.materialDesign + } } }; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index e85e07b6..df0deab6 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -33,6 +33,7 @@
  • Added: slick-theme v1.8.1 (#196)
  • Updated: socket.io v3.0.4 (#197)
  • Added: MaterialDesign v2.8.94, v3.9.97, v4.9.95, v5.8.55 (#198)
  • +
  • Added CDN: cdn.materialdesignicons.com (#198)