M assets/js/_main.js => assets/js/_main.js +0 -21
@@ 2,7 2,6 @@
//require('magnific-popup');
//require('./plugins/jquery.fitvids');
require('./_greedy-navigation');
-//const Gumshoe = require('gumshoejs');
/* ==========================================================================
jQuery plugin settings and other scripts
========================================================================== */
@@ 31,26 30,6 @@ document.addEventListener('DOMContentLoaded', () => {
}, 400);
});
- // Gumshoe scroll spy init
- /*if($("nav.toc").length > 0) {
- var spy = new Gumshoe("nav.toc a", {
- // Active classes
- navClass: "active", // applied to the nav list item
- contentClass: "active", // applied to the content
-
- // Nested navigation
- nested: false, // if true, add classes to parents of active link
- nestedClass: "active", // applied to the parent items
-
- // Offset & reflow
- offset: 20, // how far from the top of the page to activate a content area
- reflow: true, // if true, listen for reflows
-
- // Event support
- events: true // if true, emit custom events
- });
- }*/
-
// add lightbox class to all image links
/*$(
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']"
M package-lock.json => package-lock.json +0 -6
@@ 1558,12 1558,6 @@
"integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
"dev": true
},
- "gumshoejs": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/gumshoejs/-/gumshoejs-5.1.2.tgz",
- "integrity": "sha512-wIRdZGTNkWMP8dY3po8mtNYmCfiSva41LxXIEek2yEHceETpxRmO7DfW7aUbHsuucC9z2oDPu3alN3+00FUqlw==",
- "dev": true
- },
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
M package.json => package.json +0 -1
@@ 4,7 4,6 @@
"pack": "webpack -p"
},
"devDependencies": {
- "gumshoejs": "^5.1.2",
"jquery": "^3.5.1",
"magnific-popup": "^1.1.0",
"webpack": "^4.44.2",