diff --git a/core/mappings.js b/core/mappings.js index 1da776d0..096b43f7 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -481,6 +481,7 @@ mappings.cdn = { 'jquery-ui-dist@{version}/jquery-ui.js': resources.jQueryUI, 'jquery-ui-dist@{version}/jquery-ui.min.js': resources.jQueryUI, 'jquery-validation@{version}/dist/jquery.validate.': resources.jqueryValidationPlugin, + 'js-cookie@beta/dist/js.cookie.':resources.jscookie, 'lodash@{version}/lodash.min.js': resources.lodashJS, 'lozad': resources.lozad, 'npm-modernizr@{version}/modernizr.': resources.modernizr, diff --git a/core/shorthands.js b/core/shorthands.js index 157b2747..d5333d61 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -170,6 +170,12 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) { 'path': 'resources/bootstrap/fonts/' + helpers.extractFilenameFromPath(channelPath), 'bundle': 'Bootstrap (Fonts)' }; + } else if (channelHost + channelPath === 'cdn.jsdelivr.net/npm/js-cookie@beta/dist/js.cookie.min.js') { + return { + 'source': channelHost, + 'path': 'resources/js-cookie/latest/js.cookie.min.jsm', + 'bundle': 'JSCookies' + }; } else { return false; } diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 9b9754dd..3da968cc 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -47,6 +47,7 @@