forked from neamtua/projectNice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
58 lines (52 loc) · 1.36 KB
/
config.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
var Config = (function() {
function getSoundtrackConfig() {
return {
volume: 20,
client_id: '{{ SOUNCLOUD_CLIENT_ID }}',
playlist: '63234681',
filter: {
genres: 'chiptunes',
license: 'cc-by-sa',
track_type: 'loop'
}
}
}
function getSharerConfig() {
return {
FB: {
app_id: '{{ FACEBOOK_APP_ID }}'
}
}
}
function getFactoidConfig() {
return {
default: {
id: 0,
fact:
'A projectNice service announcement: ' + "\n"
+ 'When database is unreachable, factoids are gone. ' + "\n"
+ 'Thank you for understanding, ' + "\n" + 'Cardboard Coders'
}
}
}
function getGameConfig() {
return {
debug: true
}
}
function getLoggerConfig() {
return {
enabled: true,
appName: 'projectNice',
appVersion: 'koding@hackathon',
gaAccount: '{{ GA-ACCOUNT }}'
}
}
return {
Soundtrack: getSoundtrackConfig(),
Sharer: getSharerConfig(),
Factoid: getFactoidConfig(),
Logger: getLoggerConfig(),
Game: getGameConfig()
}
})();