From 839d19c7e7f70a4e580aca4eca761dff7ada166e Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 11 Oct 2022 07:03:26 +0200 Subject: [PATCH] cdn.jsdelivr.net -> materialdesignicons (#1165) --- core/shorthands.js | 8 ++++++++ pages/updates/updates.html | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/core/shorthands.js b/core/shorthands.js index ce9e054f..9ce7dc62 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -256,6 +256,14 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) { 'path': `resources/gsap/${lastVersion}/${helpers.extractFilenameFromPath(channelPath)}`, 'bundle': 'GSAP' }; + } else if (CompleteURL.startsWith('cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.')) { + return { + 'source': channelHost, + 'versionDelivered': 'latest', + 'versionRequested': 'latest', + 'path': 'resources/google-material-design-icons/google-material-design-icons.css', + 'bundle': '' + }; } return { 'result': false, diff --git a/pages/updates/updates.html b/pages/updates/updates.html index fe3a0afa..d5395809 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -41,6 +41,10 @@ +

Mapping

+