MCPcopy Index your code
hub / github.com/codecombat/codecombat / useChinaHomeView

Method useChinaHomeView

app/models/User.js:1455–1458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1453 showChinaResourceInfo () { return features?.china != null ? features?.china : false }
1454 showChinaHomeVersion () { return features?.chinaHome != null ? features?.chinaHome : false }
1455 useChinaHomeView () {
1456 let left
1457 return (left = features?.china && !features?.chinaHome) != null ? left : false
1458 }
1459
1460 showChinaRegistration () { return features?.china != null ? features?.china : false }
1461 enableCpp () { return utils.isCodeCombat && (this.hasSubscription() || this.isStudent() || this.isTeacher()) }

Callers 3

''Method · 0.80
homeMethod · 0.80
initClassMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected