diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 0b66f2f0..5cc5d45f 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1307,6 +1307,7 @@ https://cdnjs.cloudflare.com/ajax/libs/redux/4.1.0/redux.min.js https://cdnjs.cloudflare.com/ajax/libs/rickshaw/1.7.1/rickshaw.min.css https://cdnjs.cloudflare.com/ajax/libs/rickshaw/1.7.1/rickshaw.min.js https://cdnjs.cloudflare.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js +https://cdnjs.cloudflare.com/ajax/libs/script.js/2.5.9/script.min.js https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2-bootstrap.min.css https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2_locale_ar.min.js https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2_locale_az.min.js diff --git a/core/mappings.js b/core/mappings.js index af91a15c..edbc4519 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -394,6 +394,7 @@ mappings.cdn = { 'react-dom/{version}/umd/react-dom.production.min.js': resources.reactDOM, 'rickshaw/{version}/rickshaw.min.css': resources.rickshawCSS, 'rickshaw/{version}/rickshaw.min.js': resources.rickshawJS, + 'script.js/{version}/script.': resources.scriptJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, 'select2/{version}/': resources.select2, 'semantic-ui/{version}/': resources.semanticUi, diff --git a/core/resources.js b/core/resources.js index a179205f..b638babc 100644 --- a/core/resources.js +++ b/core/resources.js @@ -811,6 +811,10 @@ var resources = { 'cfRocketLoader': { 'path': 'resources/rocket-loader/latest/rocket-loader.min.jsm' }, + // script.js [Deprecated] + 'scriptJS': { + 'path': 'resources/script.js/{version}/script.min.jsm' + }, // Scriptaculous [Deprecated] 'scriptaculous': { 'path': 'resources/scriptaculous/{version}/scriptaculous.jsm' diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 39e8d8ac..1a57b9e0 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -525,6 +525,8 @@ targets.setLastVersion = function (type, version) { return '4.1.0'; } else if (type.startsWith('/rickshaw/1.')) { return '1.7.1'; + } else if (type.startsWith('/script.js/2.')) { + return '2.5.9'; } else if (type.startsWith('/scriptaculous/1.')) { return '1.9.0'; } else if (type.startsWith('/select2/3.')) { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 784a99fe..f74e06f7 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -52,6 +52,7 @@
  • Added: instantsearch.css v7.4.5 (#552)
  • Mapping: instantsearch.js -> cdn.jsdelivr.net (#552)
  • Added: jquery-ujs v1.2.3 (#553)
  • +
  • Added: script.js v2.5.9 (#555)
  • Includes also the following changes, because the release of this version took a long time caused by a broken validation server of Mozilla (More information).