1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-22 16:12:13 +01:00

Added NVD3 v1.8.6 JS&CSS (#36)

This commit is contained in:
nobody 2020-06-23 18:24:52 +02:00
parent 5072d06acd
commit 7e277431e7
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
7 changed files with 37 additions and 0 deletions

View File

@ -302,6 +302,10 @@ var files = {
'resources/mootools/1.6.0/mootools-core.min.jsm': true,
'resources/mootools/1.4.5/mootools-yui-compressed.jsm': true,
// NVD3
'resources/nvd3/1.8.6/nv.d3.min.css': true,
'resources/nvd3/1.8.6/nv.d3.min.jsm': true,
// ocLazyLoad
'resources/oclazyload/1.1.0/ocLazyLoad.min.jsm': true,

View File

@ -162,6 +162,10 @@ var mappings = {
'moment.js/{version}/moment.': resources.moment,
'moment.js/{version}/moment.min.': resources.moment,
'mootools/{version}/mootools-core': resources.mootools,
'nvd3/{version}/nv.d3.min.js': resources.nvd3JS,
'nvd3/{version}/nv.d3.js': resources.nvd3JS,
'nvd3/{version}/nv.d3.min.css': resources.nvd3CSS,
'nvd3/{version}/nv.d3.css': resources.nvd3CSS,
'oclazyload/{version}/ocLazyLoad.': resources.ocLazyLoad,
'page.js/{version}/page.min.': resources.pageJs,
'plyr/{version}/plyr.css': resources.plyrCSS,

View File

@ -396,6 +396,15 @@ var resources = {
'path': 'resources/mootools/{version}/mootools-yui-compressed.jsm',
'type': 'application/javascript'
},
// NVD3
'nvd3JS': {
'path': 'resources/nvd3/{version}/nv.d3.min.jsm',
'type': 'application/javascript'
},
'nvd3CSS': {
'path': 'resources/nvd3/{version}/nv.d3.min.css',
'type': 'text/css'
},
// ocLazyLoad
'ocLazyLoad': {
'path': 'resources/oclazyload/{version}/ocLazyLoad.min.jsm',

View File

@ -365,6 +365,10 @@ helpers.determineResourceName = function (filename) {
return 'Modernizr';
case 'mootools-yui-compressed.jsm':
return 'MooTools';
case 'nv.d3.min.jsm':
return 'NVD3 JS';
case 'nv.d3.min.css':
return 'NVD3 CSS';
case 'ocLazyLoad.min.jsm':
return 'ocLazyLoad';
case 'p2p-media-loader-core.min.jsm':
@ -620,6 +624,8 @@ helpers.setLastVersion = function (type, version) {
return '0.9.2';
} else if (type.includes('/mobile/1.')) {
return '1.4.5';
} else if (type.includes('/nvd3/1.')) {
return '1.8.6';
} else if (type.includes('/js-cookie/2.')) {
return '2.2.1';
} else if (type.includes('/lazysizes/4.')) {

View File

@ -27,6 +27,7 @@
<li>Added: jQuery tablesorter v2.31.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/36">#36</a>)</li>
<li>Added: jQuery modal v0.9.2 (JS & CSS) (<a href="https://codeberg.org/nobody/LocalCDN/issues/36">#36</a>)</li>
<li>Added: simplemde v1.11.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/36">#36</a>)</li>
<li>Added: NVD3 v1.8.6 (<a href="https://codeberg.org/nobody/LocalCDN/issues/36">#36</a>)</li>
</ul>
<div class="topic-label">
Generate rule sets for uBlock or uMatrix

2
resources/nvd3/1.8.6/nv.d3.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long