mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* 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
11 lines
192 B
JavaScript
11 lines
192 B
JavaScript
/*
|
|
Global utility functions related to positioning
|
|
*/
|
|
|
|
function g_getViewport()
|
|
{
|
|
var win = $(window);
|
|
|
|
return new Rectangle(win.scrollLeft(), win.scrollTop(), win.width(), win.height());
|
|
}
|