forked from codecombat/codecombat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
static-mock.original.coffee
54 lines (49 loc) · 1.2 KB
/
static-mock.original.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
48
49
50
51
52
53
54
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
isHomeUser: () -> true
isAdmin: () -> false
isSchoolAdmin: () -> false
isAPIClient: () -> false
isInGodMode: () -> 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
getHackStackExperimentValue: -> false
exports.view =
isMobile: () -> false
isOldBrowser: () -> false
isChinaOldBrowser: () -> false
isIPadBrowser: () -> false
exports.getQueryVariable = -> null