From 5940a840dac0bd30563964e866255e7204259a10 Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 22 Jul 2022 05:27:16 +0200 Subject: [PATCH] Added: jQuery.scrollTo v2.1.3 (#1070) --- THIRD_PARTY.txt | 1 + core/mappings.js | 2 ++ core/resources.js | 4 ++++ modules/internal/targets.js | 2 ++ pages/updates/updates.html | 1 + resources/jquery-scrollTo/2.1.3/jquery.scrollTo.min.jsm | 7 +++++++ 6 files changed, 17 insertions(+) create mode 100644 resources/jquery-scrollTo/2.1.3/jquery.scrollTo.min.jsm diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 0bf932cf..e9f242b8 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1223,6 +1223,7 @@ https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.2/jquery.modal.min.css https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.2/jquery.modal.min.js https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js https://cdnjs.cloudflare.com/ajax/libs/jquery.scrollbar/0.2.11/jquery.scrollbar.min.js +https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.3/jquery.scrollTo.min.js https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.3/js/jquery.tablesorter.min.js https://cdnjs.cloudflare.com/ajax/libs/jquery-timeago/1.6.7/jquery.timeago.min.js https://cdnjs.cloudflare.com/ajax/libs/jquery-tiny-pubsub/0.7.0/ba-tiny-pubsub.min.js diff --git a/core/mappings.js b/core/mappings.js index d379176d..5a5ba9e1 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -361,6 +361,7 @@ mappings.cdn = { 'jquery-cookie/{version}/jquery.cookie.': resources.jqueryCookie, 'jquery.scrollbar/{version}/jquery.scrollbar.min.js': resources.jQueryScrollbar, 'jquery.scrollbar/{version}/jquery.scrollbar.js': resources.jQueryScrollbar, + 'jquery.scrollTo/{version}/jquery.scrollTo.': resources.jQueryScrollTo, 'jquery-timeago/{version}/jquery.timeago.min.js': resources.jqueryTimeago, 'jquery-timeago/{version}/jquery.timeago.js': resources.jqueryTimeago, 'jquery-tiny-pubsub/{version}/ba-tiny-pubsub.': resources.jQueryTinyPubsub, @@ -604,6 +605,7 @@ mappings.cdn = { 'instantsearch.css@{version}': resources.InstantSearchCSS, 'jquery@{version}/dist/jquery.': resources.jQuery, 'jquery@{version}/dist/jquery.min.': resources.jQuery, + 'jquery.scrollto@{version}/jquery.scrollTo.': resources.jQueryScrollTo, 'jquery-ui@{version}/jquery-ui.js': resources.jQueryUI, 'jquery-ui@{version}/jquery-ui.min.js': resources.jQueryUI, 'jquery-ui-dist@{version}/jquery-ui.js': resources.jQueryUI, diff --git a/core/resources.js b/core/resources.js index 181167e3..b12bb83a 100644 --- a/core/resources.js +++ b/core/resources.js @@ -592,6 +592,10 @@ var resources = { 'jQueryScrollbar': { 'path': 'resources/jquery.scrollbar/{version}/jquery.scrollbar.min.jsm' }, + // jQuery-scrollTo + 'jQueryScrollTo': { + 'path': 'resources/jquery-scrollTo/{version}/jquery.scrollTo.min.jsm' + }, // jQuery Tablesorter 'jQueryTablesorter': { 'path': 'resources/jquery.tablesorter/{version}/jquery.tablesorter.min.jsm' diff --git a/modules/internal/targets.js b/modules/internal/targets.js index e756c247..e15c117e 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -286,6 +286,7 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/jquery.scrollbar/0.')) return '0.2.11'; if (type.startsWith('/jquery-validation-unobtrusive/3.')) return '3.2.12'; if (type.startsWith('/jquery.tablesorter/2.')) return '2.31.3'; + if (type.startsWith('/jquery-scrollTo/2.')) return '2.1.3'; if (type.startsWith('/jquery-timeago/1.')) return '1.6.7'; if (type.startsWith('/jquery-tiny-pubsub/0.')) return '0.7.0'; if (type.startsWith('/jquery-ujs/1.')) return '1.2.3'; @@ -467,6 +468,7 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { + 'jquery.scrollTo.min.jsm': 'jQuery.scrollTo', 'twix.min.jsm': 'twix.js', 'angular-locale_en-us.min.jsm': 'angular-i18n', 'angular-translate-loader-partial.min.jsm': 'angular-translate-loader-partial', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 19916890..144d653f 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -48,6 +48,7 @@

Improved