diff --git a/core/files.js b/core/files.js index fd98b74c..53d03592 100644 --- a/core/files.js +++ b/core/files.js @@ -317,6 +317,9 @@ var files = { // SWFObject 'resources/swfobject/2.2/swfobject.jsm': true, + // Tether JS + 'resources/tether/1.4.7/js/tether.min.jsm': true, + // toastr.js 'resources/toastr.js/2.1.4/toastr.min.css': true, 'resources/toastr.js/2.1.4/toastr.min.jsm': true, diff --git a/core/mappings.js b/core/mappings.js index bfd6e987..129bc408 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -157,6 +157,7 @@ var mappings = { 'spin.js/{version}/spin.min.js': resources.spinJS, 'socket.io/{version}/socket.io.': resources.socketIO, 'swfobject/{version}/swfobject.': resources.swfobject, + 'tether/{version}/js/tether.': resources.tetherJS, '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, diff --git a/core/resources.js b/core/resources.js index babd17fb..b4ed39d3 100644 --- a/core/resources.js +++ b/core/resources.js @@ -430,6 +430,11 @@ var resources = { 'path': 'resources/swfobject/{version}/swfobject.jsm', 'type': 'application/javascript' }, + // Tether JS + 'tetherJS': { + 'path': 'resources/tether/{version}/js/tether.min.jsm', + 'type': 'application/javascript' + }, // Twitter Bootstrap JS 'twitterBootstrapJS': { 'path': 'resources/twitter-bootstrap/{version}/js/bootstrap.min.jsm', diff --git a/modules/internal/helpers.js b/modules/internal/helpers.js index 31d45d46..a0470448 100644 --- a/modules/internal/helpers.js +++ b/modules/internal/helpers.js @@ -374,6 +374,8 @@ helpers.determineResourceName = function (filename) { return 'Store.js'; case 'swfobject.jsm': return 'SWFObject'; + case 'tether.min.jsm': + return 'Tether JS'; case 'toastr.min.css': return 'toastr.js'; case 'toastr.min.jsm': @@ -607,6 +609,8 @@ helpers.setLastVersion = function (type, version) { version = '2.0.4'; } else if (type.includes('/swfobject/2.')) { version = '2.2'; + } else if (type.includes('/tether/1.')) { + version = '1.4.7'; } else if (type.includes('/twitter-bootstrap/4.')) { version = '4.5.0'; } else if (type.includes('/twitter-bootstrap/3.')) { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 2320dd8e..b16db176 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -25,6 +25,7 @@
  • Fixed: Encoding problem with some websites (maybe only temporary, because at the moment only 9 websites are affected)
  • Added: Twitter Bootstrap JS and CSS v4.5.0
  • Added: Material Design for Bootstrap (MDB) v4.18.0
  • +
  • Added: Tether v1.4.7