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

Added rickshaw v1.6.6

This commit is contained in:
nobody42 2020-03-26 07:48:48 +01:00
parent 20be65fad5
commit 4a02139e6d
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
7 changed files with 27 additions and 1 deletions

View File

@ -110,6 +110,10 @@ var files = {
// page.js
'resources/page.js/1.7.1/page.min.jsm': true,
// rickshaw
'resources/rickshaw/1.6.6/rickshaw.min.jsm': true,
'resources/rickshaw/1.6.6/rickshaw.min.cssm': true,
// Cloudflare Rocket Loader
'resources/rocket-loader/latest/rocket-loader.min.jsm': true,

View File

@ -87,6 +87,8 @@ var mappings = {
'moment.js/{version}/moment.min.': resources.moment,
'mootools/{version}/mootools-core': resources.mootools,
'page.js/{version}/page.min.': resources.pageJs,
'rickshaw/{version}/rickshaw.min.css': resources.rickshawCSS,
'rickshaw/{version}/rickshaw.min.js': resources.rickshawJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,

View File

@ -149,6 +149,15 @@ var resources = {
'path': 'resources/prototype/{version}/prototype.jsm',
'type': 'application/javascript'
},
// rickshaw
'rickshawJS': {
'path': 'resources/rickshaw/{version}/rickshaw.min.jsm',
'type': 'application/javascript'
},
'rickshawCSS': {
'path': 'resources/rickshaw/{version}/rickshaw.min.cssm',
'type': 'text/css'
},
// Cloudflare Rocket Loader
'cfRocketLoader': {
'path': 'resources/rocket-loader/latest/rocket-loader.min.jsm',

View File

@ -249,7 +249,11 @@ helpers.determineResourceName = function (filename) {
case 'prototype.jsm':
return 'Prototype';
case 'rocket-loader.min.jsm':
return 'Rocket Loader'
return 'Rocket Loader';
case 'rickshaw.min.jsm':
return 'rickshaw JS';
case 'rickshaw.min.cssm':
return 'rickshaw CSS';
case 'scriptaculous.jsm':
return 'Scriptaculous';
case 'swfobject.jsm':
@ -376,6 +380,8 @@ helpers.setLastVersion = function (type, versionNumber) {
version = '1.7.1';
} else if (type.includes('/prototype/1.')) {
version = '1.7.3.0';
} else if (type.includes('rickshaw/1.')) {
version = '1.6.6';
} else if (type.includes('/scriptaculous/1.')) {
version = '1.9.0';
} else if (type.includes('/swfobject/2.')) {

View File

@ -30,6 +30,7 @@
<li>Added WOW v1.1.2</li>
<li>Added lazysizes v4.1.8</li>
<li>Added jQuery Validation Plugin v1.19.1</li>
<li>Added rickshaw v1.6.6</li>
</ul>
<div class="topic-label">
Please update your uBlock/uMatrix rules

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long