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

Method levelPopoverContent

app/views/courses/ClassroomView.js:309–319  ·  view source on GitHub ↗
(level, session, i)

Source from the content-addressed store, hash-verified

307 }
308
309 levelPopoverContent (level, session, i) {
310 if (!level) { return null }
311 const context = {
312 moment,
313 level,
314 session,
315 i,
316 canViewSolution: this.teacherMode
317 }
318 return popoverTemplate(context)
319 }
320
321 getLevelURL (level, course, courseInstance, session) {
322 if (!this.teacherMode || !_.all(arguments)) { return null }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected