Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ init
Function
init
Memory-Matching-Game/gameScript.js:16–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
//Resizing Screen
15
window.onresize = init;
16
function
init() {
17
W = innerWidth;
18
H = innerHeight;
19
$(
'body'
).height(H+
"px"
);
20
$(
'#ol'
).height(H+
"px"
);
21
}
22
23
//Showing instructions
24
window.onload =
function
() {
Callers
1
HomePage
Function · 0.50
Calls
1
$
Function · 0.50
Tested by
no test coverage detected