Added toastr.js v2.1.4

This commit is contained in:
nobody42 2020-03-26 07:24:37 +01:00
parent 16e9435760
commit d8a98b74a9
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
7 changed files with 26 additions and 0 deletions

View File

@ -113,6 +113,10 @@ var files = {
// SWFObject
'resources/swfobject/2.2/swfobject.jsm': true,
// toastr.js
'resources/toastr.js/2.1.4/toastr.min.cssm': true,
'resources/toastr.js/2.1.4/toastr.min.jsm': true,
// Twitter Bootstrap
'resources/twitter-bootstrap/3.4.1/bootstrap.min.jsm': true,
'resources/twitter-bootstrap/3.4.1/bootstrap.min.cssm': true,

View File

@ -87,6 +87,8 @@ var mappings = {
'page.js/{version}/page.min.': resources.pageJs,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
'toastr.js/{version}/toastr.min.js': resources.toastrJS,
'twitter-bootstrap/{version}/js/bootstrap.min.js': resources.twitterBootstrapJS,
'twitter-bootstrap/{version}/css/bootstrap.min.css': resources.twitterBootstrapCSS,
'underscore.js/{version}/underscore.': resources.underscore,

View File

@ -164,6 +164,16 @@ var resources = {
'path': 'resources/twitter-bootstrap/{version}/bootstrap.min.cssm',
'type': 'text/css'
},
// toastr.js
'toastrCSS': {
'path': 'resources/toastr.js/{version}/toastr.min.cssm',
'type': 'text/css'
},
// toastr.js
'toastrJS': {
'path': 'resources/toastr.js/{version}/toastr.min.jsm',
'type': 'application/javascript'
},
// Underscore.js
'underscore': {
'path': 'resources/underscore.js/{version}/underscore-min.jsm',

View File

@ -250,6 +250,10 @@ helpers.determineResourceName = function (filename) {
return 'Scriptaculous';
case 'swfobject.jsm':
return 'SWFObject';
case 'toastr.min.cssm':
return 'toastr.js';
case 'toastr.min.jsm':
return 'toastr.js';
case 'underscore-min.jsm':
return 'Underscore.js';
case 'webfont.jsm':
@ -368,6 +372,8 @@ helpers.setLastVersion = function (type, versionNumber) {
version = '2.2';
} else if (type.includes('/twitter-bootstrap/3.')) {
version = '3.4.1';
} else if (type.includes('/toastr.js/2.')) {
version = '2.1.4';
} else if (type.includes('/underscore.js/1.')) {
version = '1.9.1';
} else if (type.includes('/vue/1.')) {

View File

@ -26,6 +26,7 @@
<li>Added animate.css v3.7.2</li>
<li>Fixed bootstrap-slider</li>
<li>Fixed Twitter Bootstrap CSS & JS v3.4.1</li>
<li>Added toastr.js v2.1.4</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