aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/main.js
blob: 623166f2b6ff5ec50e31a7bbc6a91b2c14816295 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import { makeElement } from "../arching-kaos-generator.js";

export function mainSpawn()
{
    var scripts = [
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/aboutSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/akNodeInfoSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/chatSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/commentsSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/filesSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/mixtapesSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/myPageSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/newsSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/notFoundSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/radioSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/settingsSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/statsSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/stellarBalancesSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/stellarDataConfigSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/stellarSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/welcomeSection.js"
        },
        {
            element:"script",
            type:"module",
            src:"./js/ui/sections/zchainDataSection.js"
        }
    ];

    for ( var i = 0; i < scripts.length; i++ )
    {
        makeElement(scripts[i], document.querySelector('body'));
    }
}