Template/Update (Part 47)

* split global.js into its components, so it can be reasonably processed by setup
 * make reputation requirements configurable
 * move Markup and Locale back into global.js (removed associated build scripts)
 * extend Icon to display iconId in lightbox popup
This commit is contained in:
Sarjuuk
2025-08-11 16:00:18 +02:00
parent a48e94cd8b
commit 6557e70d5c
73 changed files with 26256 additions and 25699 deletions

View File

@@ -0,0 +1,10 @@
/*
Global utility functions related to positioning
*/
function g_getViewport()
{
var win = $(window);
return new Rectangle(win.scrollLeft(), win.scrollTop(), win.width(), win.height());
}