forked from codecombat/codecombat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
static-mock.coffee
46 lines (42 loc) · 1.03 KB
/
static-mock.coffee
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
props =
permissions: []
anonymous: true
preferredLanguage: 'en'
exports.serverConfig =
codeNinja: false
static: true
exports.features =
playViewsOnly: false
exports.me =
showingStaticPagesWhileLoading: () -> true
isStudent: () -> false
isAnonymous: () -> @get('anonymous')
hasSubscription: () -> false
isTeacher: () -> false
isAdmin: () -> false
level: () -> 1
useDexecure: -> true
useSocialSignOn: -> true
gems: () -> 0
getPhotoURL: () -> ''
displayName: () -> ''
broadName: () -> ''
get: (prop) -> props[prop]
isOnPremiumServer: () -> false
freeOnly: -> false
isTarena: -> false
useTarenaLogo: -> false
hideTopRightNav: -> false
hideFooter: -> false
useGoogleAnalytics: -> true
showChinaVideo: -> false
getHomePageTestGroup: -> undefined
showForumLink: -> true
showGithubLink: -> true
showChinaICPinfo: -> false
exports.view =
forumLink: () -> 'http://discourse.codecombat.com/'
isMobile: () -> false
showAds: () -> false
isOldBrowser: () -> false
isIPadBrowser: () -> false