8 Star 23 Fork 3

Gitee 极速下载 / codecombat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/codecombat/codecombat
克隆/下载
static-mock.js 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
Nick Winter 提交于 2024-03-19 22:19 . Add User.isCodeNinja handling (#7320)
const props = {
permissions: [],
anonymous: true,
preferredLanguage: 'en'
}
exports.serverConfig = {
codeNinja: false,
static: true
}
exports.features =
{ playViewsOnly: false }
exports.me = {
showingStaticPagesWhileLoading () { return true },
isStudent () { return false },
isAnonymous () { return this.get('anonymous') },
hasSubscription () { return false },
isTeacher () { return false },
isHomeUser () { return true },
isAdmin () { return false },
isSchoolAdmin () { return false },
isAPIClient () { return false },
isInGodMode () { return false },
level () { return 1 },
useDexecure () { return true },
useSocialSignOn () { return true },
gems () { return 0 },
getPhotoURL () { return '' },
displayName () { return '' },
broadName () { return '' },
get (prop) { return props[prop] },
freeOnly () { return false },
isTarena () { return false },
isILK () { return false },
isICode () { return false },
isCodeNinja () { return false },
useTarenaLogo () { return false },
hideTopRightNav () { return false },
hideFooter () { return false },
useGoogleAnalytics () { return true },
showChinaVideo () { return false },
showForumLink () { return true },
showChinaResourceInfo () { return false },
hideDiplomatModal () { return false },
showOpenResourceLink () { return true },
useStripe () { return true },
getHackStackExperimentValue () { return false }
}
exports.view = {
isMobile () { return false },
isOldBrowser () { return false },
isChinaOldBrowser () { return false },
isIPadBrowser () { return false }
}
exports.getQueryVariable = () => null
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/codecombat.git
git@gitee.com:mirrors/codecombat.git
mirrors
codecombat
codecombat
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891