Browse Source

chore: drop jquery-backstretch (dead after studio went native)

Studio was backstretch's only user; its native rebuild (d43c72f) removed the
last call. Drop the import from main.js and uninstall the package. v4-script
bundle shrinks ~17 KB (246 KB → 229 KB); desk (lazyload) + about/single
(validate) jQuery plugins unaffected.
windhamdavid 2 days ago
parent
commit
1c06ac06c7
4 changed files with 0 additions and 19 deletions
  1. 0 0
      js/v4-script.min.js
  2. 0 17
      package-lock.json
  3. 0 1
      package.json
  4. 0 1
      src/main.js

File diff suppressed because it is too large
+ 0 - 0
js/v4-script.min.js


+ 0 - 17
package-lock.json

@@ -12,7 +12,6 @@
         "bootstrap": "^5.3.8",
         "fullcalendar": "^5.11.3",
         "jquery": "^3.6.1",
-        "jquery-backstretch": "^2.1.18",
         "jquery-lazyload": "^1.9.7",
         "jquery-validation": "^1.19.5",
         "js-cookie": "^3.0.8",
@@ -18695,14 +18694,6 @@
       "integrity": "sha512-/e7ulNIEEYk1Z/l4X0vpxGt+B/dNsV8ghOPAWZaJs8pkGvsSC0tm33aMGylXcj/U7y4IcvwtMXPMyBFZn/gK9A==",
       "peer": true
     },
-    "node_modules/jquery-backstretch": {
-      "version": "2.1.18",
-      "resolved": "https://registry.npmjs.org/jquery-backstretch/-/jquery-backstretch-2.1.18.tgz",
-      "integrity": "sha512-qUUTfZD/pwpqlCVvgr8VLTNa0utQBUW+HTXLPZkyqcSiudgWf+ImXlRE7oKQ8o2MbcrZ28n6HCg38Sfhwn9CNw==",
-      "dependencies": {
-        "jquery": "^3.1.1"
-      }
-    },
     "node_modules/jquery-lazyload": {
       "version": "1.9.7",
       "resolved": "https://registry.npmjs.org/jquery-lazyload/-/jquery-lazyload-1.9.7.tgz",
@@ -40857,14 +40848,6 @@
       "integrity": "sha512-/e7ulNIEEYk1Z/l4X0vpxGt+B/dNsV8ghOPAWZaJs8pkGvsSC0tm33aMGylXcj/U7y4IcvwtMXPMyBFZn/gK9A==",
       "peer": true
     },
-    "jquery-backstretch": {
-      "version": "2.1.18",
-      "resolved": "https://registry.npmjs.org/jquery-backstretch/-/jquery-backstretch-2.1.18.tgz",
-      "integrity": "sha512-qUUTfZD/pwpqlCVvgr8VLTNa0utQBUW+HTXLPZkyqcSiudgWf+ImXlRE7oKQ8o2MbcrZ28n6HCg38Sfhwn9CNw==",
-      "requires": {
-        "jquery": "^3.1.1"
-      }
-    },
     "jquery-lazyload": {
       "version": "1.9.7",
       "resolved": "https://registry.npmjs.org/jquery-lazyload/-/jquery-lazyload-1.9.7.tgz",

+ 0 - 1
package.json

@@ -42,7 +42,6 @@
     "bootstrap": "^5.3.8",
     "fullcalendar": "^5.11.3",
     "jquery": "^3.6.1",
-    "jquery-backstretch": "^2.1.18",
     "jquery-lazyload": "^1.9.7",
     "jquery-validation": "^1.19.5",
     "js-cookie": "^3.0.8",

+ 0 - 1
src/main.js

@@ -16,7 +16,6 @@ import Cookies from 'js-cookie';
 window.Cookies = Cookies;
 
 import 'jquery-validation'; // → $.fn.validate  (comment forms: about, single)
-import 'jquery-backstretch'; // → $.fn.backstretch (studio hero bg)
 import 'jquery-lazyload'; // → $.fn.lazyload  (desk)
 
 import './vendor/drawfillsvg.js'; // self-exposes window.DrawFillSVG (about, studio)

Some files were not shown because too many files changed in this diff