PageSourceSearch

https://7angel4.github.io/assets/scripts/render-teaching.js

js 7angel4.github.io collected 2026-10-03 08:31:44 UTC 567 bytes, 14 lines download raw bytes

1import { TEACHING } from '../data/teaching.js';
2
3const container = document.getElementById('teaching-list');
4if (container) {
5    TEACHING.forEach(({ code, codeUrl, name, institution }) => {
6        const li = document.createElement('li');
7        li.innerHTML = `
8            <span class="course-code">${codeUrl ? `<a href="${codeUrl}" target="_blank" rel="noopener">${code}</a>` : code}</span>
9            <span class="course-name">${name}</span>
10            <span class="institution">@ ${institution}</span>
11        `;
12        container.appendChild(li);
13    });
14}

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.