MCPcopy Create free account
hub / github.com/Semporia/Scripts / n

Function n

sign_graphics_validate.js:1410–1418  ·  view source on GitHub ↗
(g)

Source from the content-addressed store, hash-verified

1408
1409 function v() {
1410 function n(g) {
1411 var m = {};
1412 r.style.fontFamily = g;
1413 document.body.appendChild(r);
1414 m.height = r.offsetHeight;
1415 m.width = r.offsetWidth;
1416 document.body.removeChild(r);
1417 return m
1418 }
1419 var e = ["monospace", "sans-serif", "serif"],
1420 f = [],
1421 r = document.createElement("span");

Callers 2

vFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected