-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.js
39 lines (29 loc) · 1.04 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// (c) Marcel Timm, RhinoDevel, 2019
/** To be executed as last JavaScript file on page load.
*/
(function() // IIFE
{
'use strict';
window.addEventListener(
'load',
function()
{
var v = {};
v.ele = {};
v.ele.room = document.createElement('div');
v.ele.room.style.order = String(1);
v.ele.room.style.position = 'relative';
document.body.style.width = '100%';
document.body.style.height = '100%';
document.body.style.border = '0px none';
document.body.style.padding = '0px';
document.body.style.margin = '0px';
document.body.style['background-color'] = 'black';
document.body.style.display = 'flex';
document.body.style['justify-content'] = 'center';
document.body.style['align-items'] = 'center';
document.body.appendChild(v.ele.room);
RhinoDressUp.roomLateInit();
RhinoDressUp.room.init(v.ele.room);
});
}());