1export function getEnv() { 2 return document.documentElement.dataset.env ?? null; 3} 4 5export function isEnv(type = null) { 6 try { 7 if (!type) throw new Error("typeã¯å¿ é ã§ã"); 8 9 return getEnv() === type; 10 } catch (error) { 11 console.error(error.message); 12 } 13} 14 15export function checkJsonData(json, fn) { 16 const searchParams = new URLSearchParams(location.search); 17 const isCheckMode = 18 document.documentElement.dataset.env === "LOCAL" && 19 searchParams.get("checkMode") !== null; 20 21 if (isCheckMode && fn) { 22 fn(); 23 } 24}
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.