-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessages.js
44 lines (41 loc) · 1.22 KB
/
messages.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
const messages = new Array(
"Should work...",
"Fixed",
"Disabled failing tests",
"Works for me",
"Downgraded requirements",
"Not tested",
"Don't push this commit",
"TODO: Test these changes",
"It was hard to write so it should be hard to read",
"Just learning git commands",
"Readded bug #71280",
"I'm drunk...",
"This change requires IE 0.73 to work properly",
"I don't know why but it works now (DON'T TOUCH!!!)",
"Workaround for Workaround #49",
"Copied from stackoverflow",
"I need more coffee for this shit...",
"Commit message in next commit",
"Read previous commit message",
"Why The Fuck?",
"Fixed speling",
"message",
"What is a commit message?",
"Why should I write commit messages??",
"Unable to close vim... PLZ HELP!!",
"code is self-explanatory",
"debugging",
"Removed private key (plz don't look at the previous commits)",
"Merged dev branch 'BROKEN'",
"Restarting developer... Please wait...",
);
function refreshMessage() {
var msg = messages[
Math.floor(
Math.random()*messages.length
)
];
document.getElementById("message").innerText = msg;
console.log(msg);
};