Added: Chart.js v3.0.1 (#347)

This commit is contained in:
nobody 2021-04-03 06:20:40 +02:00
parent 949406a41e
commit dfd5399985
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
6 changed files with 23 additions and 0 deletions

View File

@ -228,6 +228,7 @@ https://cdnjs.cloudflare.com/ajax/libs/bootstrap-vue/2.21.2/bootstrap-vue.min.js
https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.2/css/bulma.min.css https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.2/css/bulma.min.css
https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.bundle.min.js https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.bundle.min.js
https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.css https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.css
https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.0.1/chart.min.js
https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.jquery.min.js https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.jquery.min.js
https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js
https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js

View File

@ -556,6 +556,8 @@ function create_url() {
elif [ "$folder" = "semantic-ui" ]; then elif [ "$folder" = "semantic-ui" ]; then
relativpath=$(echo -e "$path" | awk -F"../$folder/$version" '{print $NF}') relativpath=$(echo -e "$path" | awk -F"../$folder/$version" '{print $NF}')
url="$CLOUDFLARE/$folder/$version/$relativpath" url="$CLOUDFLARE/$folder/$version/$relativpath"
elif [ "$folder" = "Chart.js" ] && [ "$version" != "2.9.4" ]; then
url="$CLOUDFLARE/$folder/$version/chart.min.js"
else else
if [ "$subfile" = "$jfile" ]; then if [ "$subfile" = "$jfile" ]; then
url="$CLOUDFLARE/$folder/$version/$subfile" url="$CLOUDFLARE/$folder/$version/$subfile"

View File

@ -206,6 +206,8 @@ targets.setLastVersion = function (type, version) {
return '0.9.2'; return '0.9.2';
} else if (type.startsWith('/Chart.js/2.')) { } else if (type.startsWith('/Chart.js/2.')) {
return '2.9.4'; return '2.9.4';
} else if (type.startsWith('/Chart.js/3.')) {
return '3.0.1';
} else if (type.startsWith('/chosen/1.')) { } else if (type.startsWith('/chosen/1.')) {
return '1.8.7'; return '1.8.7';
} else if (type.startsWith('/clipboard.js/1.')) { } else if (type.startsWith('/clipboard.js/1.')) {

View File

@ -46,6 +46,7 @@
<li>Added: hls.js v1.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/344">#344</a>)</li> <li>Added: hls.js v1.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/344">#344</a>)</li>
<li>Updated: popper.js v2.9.1 -> v2.9.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/345">#345</a>)</li> <li>Updated: popper.js v2.9.1 -> v2.9.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/345">#345</a>)</li>
<li>Updated: Google Material Icons v82 -> v83 (<a href="https://codeberg.org/nobody/LocalCDN/issues/346">#346</a>)</li> <li>Updated: Google Material Icons v82 -> v83 (<a href="https://codeberg.org/nobody/LocalCDN/issues/346">#346</a>)</li>
<li>Added: Chart.js v3.0.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/347">#347</a>)</li>
</ul> </ul>
<div id="generator-section"> <div id="generator-section">
<div class="topic-label"> <div class="topic-label">

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
In this directory the file was renamed.
Original: chart.min.js
Now: Chart.bundle.min.jsm