MCPcopy Create free account
hub / github.com/codecombat/codecombat / hideFooter

Method hideFooter

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

Source from the content-addressed store, hash-verified

1381 useTarenaLogo () { return this.isTarena() }
1382 hideTopRightNav () { return this.isTarena() || this.isILK() || this.isICode() || this.isCodeNinja() }
1383 hideFooter () { return this.isTarena() || this.isILK() || this.isICode() || this.isCodeNinja() }
1384 hideOtherProductCTAs () { return this.isTarena() || this.isILK() || this.isICode() || this.isCodeNinja() }
1385 useGoogleClassroom () { return !(features?.chinaUx != null ? features?.chinaUx : false) && (this.get('gplusID') != null) } // if signed in using google SSO
1386 useGoogleCalendar () { return !(features?.chinaUx != null ? features?.chinaUx : false) && (this.get('gplusID') != null) && (this.isAdmin() || this.isOnlineTeacher()) } // if signed in using google SSO

Callers

nothing calls this directly

Calls 4

isTarenaMethod · 0.95
isILKMethod · 0.95
isICodeMethod · 0.95
isCodeNinjaMethod · 0.95

Tested by

no test coverage detected