-
Notifications
You must be signed in to change notification settings - Fork 13
/
main.js
133 lines (130 loc) · 2.46 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*
(C) 2020 David Lettier
lettier.com
*/
import App from "./App.svelte";
const app = new App({
target: document.body,
props: {
teamNames: ["Dunning–Kruger Effect", "Impostor Syndrome"],
qas: [
{
question: "Which programing language is dead?",
answers: [
{
text: "Perl",
money: 17
},
{
text: "PHP",
money: 11
},
{
text: "Haskell",
money: 6
},
{
text: "Lisp",
money: 4
},
{
text: "Ruby",
money: 3
},
{
text: "Elm",
money: 1
}
]
},
{
question: "What is the most hated thing about programming?",
answers: [
{
text: "Whiteboarding",
money: 17
},
{
text: "Naming Things",
money: 11
},
{
text: "Stand-ups",
money: 6
},
{
text: "OBOE",
money: 4
},
{
text: "Cache Invalidation",
money: 3
},
{
text: "Jira",
money: 1
}
]
},
{
question: "Name a flame war you've been in.",
answers: [
{
text: "Tabs vs Spaces",
money: 17
},
{
text: "OOP vs Functional",
money: 11
},
{
text: "GNOME vs KDE",
money: 6
},
{
text: "Vim vs Emacs",
money: 4
},
{
text: "Chrome vs Firefox",
money: 3
},
{
text: "NoSQL vs RDMS",
money: 1
}
]
},
{
question: "Which language should you rewrite something in?",
answers: [
{
text: "Rust",
money: 17
},
{
text: "Go",
money: 11
},
{
text: "JavaScript",
money: 6
},
{
text: "Elm",
money: 4
},
{
text: "Kotlin",
money: 3
},
{
text: "Elixir",
money: 1
}
]
}
]
}
});
export default app;