Added Socket.IO v2.3.0

This commit is contained in:
nobody42 2020-04-10 06:59:17 +02:00
parent 6c4cb9063b
commit 06122dea76
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
6 changed files with 23 additions and 0 deletions

View File

@ -185,6 +185,9 @@ var files = {
// Scriptaculous
'resources/scriptaculous/1.9.0/scriptaculous.jsm': true,
// Socket.IO
'resources/socket.io/2.3.0/socket.io.jsm': true,
// Select2
'resources/select2/4.0.12/select2.full.min.jsm': true,
'resources/select2/4.0.12/select2.min.css': true,

View File

@ -113,6 +113,7 @@ var mappings = {
'select2/{version}/js/select2.min.js': resources.select2js,
'select2/{version}/css/select2.min.css': resources.select2css,
'spin.js/{version}/spin.min.js': resources.spinJS,
'socket.io/{version}/socket.io.': resources.socketIO,
'swfobject/{version}/swfobject.': resources.swfobject,
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
'toastr.js/{version}/toastr.min.js': resources.toastrJS,

View File

@ -282,6 +282,11 @@ var resources = {
'path': 'resources/select2/{version}/select2.full.min.jsm',
'type': 'application/javascript'
},
// socket.io
'socketIO': {
'path': 'resources/socket.io/{version}/socket.io.jsm',
'type': 'application/javascript'
},
// spin.js
'spinJS': {
'path': 'resources/spin.js/{version}/spin.min.jsm',

View File

@ -313,6 +313,8 @@ helpers.determineResourceName = function (filename) {
return 'Select2 CSS';
case 'select2.full.min.jsm':
return 'Select2 JS';
case 'socket.io.jsm':
return 'Socket.IO';
case 'spin.min.jsm':
return 'spin.js';
case 'store.legacy.min.jsm':
@ -500,6 +502,8 @@ helpers.setLastVersion = function (type, version) {
version = '1.9.0';
} else if (type.includes('/select2/4.')) {
version = '4.0.12';
} else if (type.includes('/socket.io/2.')) {
version = '2.3.0';
} else if (type.includes('/spin.js/2.')) {
version = '2.3.2';
} else if (type.includes('/store.js/2.')) {

View File

@ -33,6 +33,7 @@
<li>Added: Lodash.js v4.17.10</li>
<li>Added: ocLazyLoad v1.1.0</li>
<li>Added: Raven.js v3.26.2</li>
<li>Added: Socket.IO v2.3.0</li>
</ul>
<div class="topic-label">
Please update your uBlock/uMatrix rules

File diff suppressed because one or more lines are too long