diff --git a/modules/internal/targets.js b/modules/internal/targets.js index b51f0238..d36c6083 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -793,6 +793,7 @@ const ListOfFiles = { 'plyr.svg': 'plyr (SVG)', 'popper.min.jsm': 'Popper', 'prototype.min.jsm': 'Prototype', + 'prototype.jsm': 'Prototype', 'raven.min.jsm': 'Raven.js', 'react-dom.production.min.jsm': 'ReactDOM', 'react.production.min.jsm': 'React', diff --git a/pages/statistics/statistics.js b/pages/statistics/statistics.js index 0802cd38..23a6c087 100644 --- a/pages/statistics/statistics.js +++ b/pages/statistics/statistics.js @@ -207,13 +207,19 @@ statistics._displayNameOfFramework = function (str, type) { filename = 'Google Charts'; } else if (str === 'resources/fontawesome/5.15.1/css/v4-shims.css') { filename = 'Font Awesome (Shim)'; + } else if (str === 'resources/bootstrap/fonts/') { + filename = 'Bootstrap (Fonts)'; + } else { + console.warn(`[LocalCDN] Missing path: ${str}`); } } + version = str.match(Resource.VERSION_EXPRESSION); if (version !== null && version.length > 0) { version = version[0] === 'latest' ? version[0] : `v${version[0]}`; } else { version = ''; + console.log(`[LocalCDN] Missing version: ${str}`); } lbName.appendChild(document.createTextNode(filename)); @@ -221,6 +227,7 @@ statistics._displayNameOfFramework = function (str, type) { lbVersion.classList.add('version'); line.appendChild(lbName); line.appendChild(lbVersion); + return line; } // If type is CDN