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

Method isSessionless

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

Source from the content-addressed store, hash-verified

337 }
338
339 isSessionless () {
340 return Boolean((utils.getQueryVariable('dev', false) || this.isTeacher()) && utils.getQueryVariable('course', false) && !utils.getQueryVariable('course-instance'))
341 }
342
343 isInHourOfCode () {
344 if (!this.get('hourOfCode')) { return false }

Callers 12

onNextLevelMethod · 0.80
onToMapMethod · 0.80
onDoneMethod · 0.80
loadAchievementsDataMethod · 0.80
loadMethod · 0.80
updateCapstoneStageMethod · 0.80
showVictoryMethod · 0.80
softReloadMethod · 0.80
onNextLevelMethod · 0.80
onToMapMethod · 0.80
onDoneMethod · 0.80
loadAchievementsDataMethod · 0.80

Calls 1

isTeacherMethod · 0.95

Tested by

no test coverage detected