forked from codecombat/codecombat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
static-mock.coffee
47 lines (43 loc) · 1.04 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
47
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]
freeOnly: -> false
isTarena: -> false
isILK: -> false
isTCode: -> false
useTarenaLogo: -> false
hideTopRightNav: -> false
hideFooter: -> false
useGoogleAnalytics: -> true
showChinaVideo: -> false
showForumLink: -> true
showChinaResourceInfo: -> false
hideDiplomatModal: -> false
showOpenResourceLink: -> true
useStripe: -> true
exports.view =
forumLink: () -> 'http://discourse.codecombat.com/'
isMobile: () -> false
isOldBrowser: () -> false
isIPadBrowser: () -> false