PageSourceSearch

https://cascade-prod.static.wm.edu/_shared/static/js/_js-imports/_run_tests_var.js

js wm.edu collected 2026-09-24 08:27:54 UTC 506 bytes, 13 lines download raw bytes

1export const runTests = false;
2
3// add checkmark
4export function addCheck(elID, successful = true) {
5     const el = document.getElementById(elID);
6     if (el && successful) {
7         const checkMark = '<i style="color: green;" class="fa-solid fa-check"></i>';
8         el.innerHTML = checkMark + ' ' + el.innerHTML;
9     } else if (el && !successful) {
10         const xMark = '<i style="color: red;" class="fa-solid fa-x"></i>';
11         el.innerHTML = xMark + ' ' + el.innerHTML;
12     }
13}

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.