CreateJS v1.0.0 (#943)

This commit is contained in:
nobody 2022-04-18 06:32:17 +02:00
parent 231b337017
commit 05fa82e481
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
7 changed files with 39 additions and 0 deletions

View File

@ -1793,6 +1793,7 @@ https://cdn.jsdelivr.net/npm/videojs-seek-buttons@2.2.0/dist/videojs-seek-button
https://cdn.jsdelivr.net/npm/vue@1.0.28/dist/vue.min.js
https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.min.js
https://cdn.jsdelivr.net/npm/vue-match-media@1.0.3/dist/index.min.js
https://code.createjs.com/1.0.0/createjs.min.js
https://fonts.gstatic.com/s/materialicons/v126/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js

View File

@ -85,6 +85,7 @@ readonly FONTAWESOME="https://use.fontawesome.com"
readonly UNPKG="https://unpkg.com"
readonly FONTSGSTATIC="https://fonts.gstatic.com"
readonly GOOGLEAPIS="https://ajax.googleapis.com/ajax/libs"
readonly CREATEJS="https://code.createjs.com"
# =============================================================================
# GLOBALS
@ -701,6 +702,8 @@ function create_url() {
url="$JSDELIVR/npm/@algolia/autocomplete-js@$version/dist/umd/index.production.min.js"
elif [ "$folder" = "vue-match-media" ];then
url="$JSDELIVR/npm/vue-match-media@$version/dist/index.min.js"
elif [ "$folder" = "createjs" ];then
url="$CREATEJS/$version/createjs.min.js"
# --------------------------------------------------------------------------
else
if [ "$subfile" = "$jfile" ]; then

View File

@ -323,6 +323,10 @@ var resources = {
'corejsTypeahead': {
'path': 'resources/corejs-typeahead/{version}/typeahead.bundle.min.jsm'
},
// CreateJS
'createJS': {
'path': 'resources/createjs/{version}/createjs.min.jsm'
},
// D3.js
'd3JS': {
'path': 'resources/d3/{version}/d3.min.jsm'

View File

@ -236,6 +236,15 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'path': 'resources/jquery/1.11.2/jquery.min.jsm',
'bundle': ''
};
} else if (CompleteURL.startsWith('code.createjs.com/createjs-')) {
lastVersion = targets.setLastVersion('/createjs/');
return {
'source': channelHost,
'versionDelivered': lastVersion,
'versionRequested': lastVersion,
'path': `resources/createjs/${lastVersion}/createjs.min.jsm`,
'bundle': ''
};
}
return {
'result': false,

View File

@ -165,6 +165,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/clipboard.js/2.')) return '2.0.10';
if (type.startsWith('/cookieconsent2/3.')) return '3.1.1';
if (type.startsWith('/corejs-typeahead/1.')) return '1.3.1';
if (type.startsWith('/createjs/')) return '1.0.0';
if (type.startsWith('/d3/3.')) return '3.5.17';
if (type.startsWith('/d3/4.')) return '4.13.0';
if (type.startsWith('/d3/5.')) return '5.16.0';
@ -440,6 +441,7 @@ targets.determineResourceName = function (filename) {
};
const ListOfFiles = {
'createjs.min.jsm': 'CreateJS',
'vue-match-media.min.jsm': 'vue-match-media',
'typeahead.bundle.min.jsm': 'corejs-typeahead',
'lightbox.min.jsm': 'Lightbox2',

View File

@ -28,6 +28,7 @@
<p>Added</p>
<ul>
<li>react-redux v8.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/945">#945</a>)</li>
<li>CreateJS v1.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/943">#943</a>)</li>
</ul>
</div>
<div id="generator-section">

File diff suppressed because one or more lines are too long