PageSourceSearch

https://joebinns.com/src/Crossings.js

js joebinns.com collected 2026-10-05 03:08:12 UTC 611 bytes, 28 lines download raw bytes

1// Portfolio item
2import { PortfolioItem } from './PortfolioItem.js';
3
4// Model previewer
5import { ModelPreviewer } from './ModelPreviewer.js';
6
7
8let portfolioItems = [];
9
10portfolioItems.push(
11    new PortfolioItem(null, 'skull.glb'),
12    new PortfolioItem('gardenOfTheSea', 'watering-can.glb'),
13);
14
15let promises = [];
16portfolioItems.forEach(item => {
17    promises.push(item.promise)
18});
19Promise.all(promises).then(() => {
20    new ModelPreviewer(portfolioItems);
21});
22
23
24
25// Dark mode
26const userPrefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
27if (userPrefersDark) {
28}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.