| 12345678910111213141516171819 |
- /**
- * Site-wide JS bundle (→ js/v4-script.min.js) — replaces the gulp `js` output.
- *
- * Vendor comes from npm (so it's `npm update`-able). The two libs with no clean npm
- * package (DrawFillSVG, Rainbow) are small self-exposing files under src/vendor/.
- * The 2,834-line scripts.js pile + modernizr are dropped (dead or npm-replaced).
- * Page scripts (about.js, studio.js, …) stay separate and consume these globals.
- */
- import $ from 'jquery';
- window.$ = window.jQuery = $;
- // Bootstrap JS retired: offcanvas → CSS :target, carousels/tabs/tooltips → native
- // per-page vanilla JS. The bootstrap npm package stays for the SCSS subset only.
- import 'jquery-validation'; // → $.fn.validate (comment forms: about, single)
- import 'jquery-lazyload'; // → $.fn.lazyload (desk)
- import './vendor/drawfillsvg.js'; // self-exposes window.DrawFillSVG (about, studio)
- import './vendor/rainbow.js'; // self-exposes window.Rainbow (code page + data-language posts)
|