1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 00:25:15 +01:00

Added Chart.js (JS-Bundle & CSS) v2.9.3

This commit is contained in:
nobody 2020-06-26 19:45:37 +02:00
parent f78b0f3aa1
commit 45b465f7a6
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
6 changed files with 27 additions and 0 deletions

View File

@ -211,6 +211,11 @@ var mappings = {
'bootstrap-slider/{version}/css/bootstrap-slider.css': resources.bootstrapSliderCSS,
'bootstrap-slider/{version}/bootstrap-slider.min.js': resources.bootstrapSliderJS,
'bootstrap-3-typeahead/{version}/bootstrap3-typeahead.': resources.bootstrap3Typeahead,
'Chart.js/{version}/Chart.bundle.': resources.chartJs,
'Chart.js/{version}/Chart.min.js': resources.chartJs,
'Chart.js/{version}/Chart.js': resources.chartJs,
'Chart.js/{version}/Chart.css': resources.chartJsCSS,
'Chart.js/{version}/Chart.min.css': resources.chartJsCSS,
'clipboard.js/{version}/clipboard.min.js': resources.clipboardJS,
'd3/{version}/d3.min.js': resources.d3JS,
'd3-legend/{version}/d3-legend.': resources.d3legend,

View File

@ -216,6 +216,15 @@ var resources = {
'path': 'resources/bootstrap-3-typeahead/{version}/bootstrap3-typeahead.min.jsm',
'type': 'application/javascript'
},
// Chart.js
'chartJs': {
'path': 'resources/chart.js/{version}/Chart.bundle.min.jsm',
'type': 'application/javascript'
},
'chartJsCSS': {
'path': 'resources/chart.js/{version}/Chart.min.css',
'type': 'text/css'
},
// clipboard.js
'clipboardJS': {
'path': 'resources/clipboard.js/{version}/clipboard.min.jsm',

View File

@ -344,6 +344,8 @@ helpers.setLastVersion = function (type, version) {
return '1.13.17';
} else if (type.includes('/bootstrap-3-typeahead/4.')) {
return '4.0.2';
} else if (type.includes('/Chart.js/2.')) {
return '2.9.3';
} else if (type.includes('/clipboard.js/1.')) {
return '1.7.1';
} else if (type.includes('/clipboard.js/2.')) {
@ -525,6 +527,8 @@ helpers.compareVersion = function (v1, v2) {
};
const ListOfFiles = {
'Chart.bundle.min.jsm': 'Chart.js (JS)',
'Chart.min.css': 'Chart.js (CSS)',
'bootbox.min.jsm': 'BootboxJS',
'bootstrap3-typeahead.min.jsm': 'Bootstrap 3 Typeahead',
'libphonenumber-js.min.jsm': 'libphonenumber-js',

View File

@ -40,6 +40,7 @@
<li>Added: BootboxJS v4.4.0 (reported by email)</li>
<li>Added: libphonenumber-js v1.7.53 (reported by email)</li>
<li>Added: Bootstrap 3 Typeahead v4.0.2 (reported by email)</li>
<li>Added: Chart.js (JS-Bundle & CSS) v2.9.3 (reported by email)</li>
</ul>
<div class="topic-label">
Generate rule sets for uBlock or uMatrix

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}