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

Method onStudentRemoved

app/views/courses/ClassroomView.js:303–307  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

301 }
302
303 onStudentRemoved (e) {
304 this.users.remove(e.user)
305 this.render()
306 return (application.tracker != null ? application.tracker.trackEvent('Classroom removed student', { category: 'Courses', classroomID: this.classroom.id, userID: e.user.id }) : undefined)
307 }
308
309 levelPopoverContent (level, session, i) {
310 if (!level) { return null }

Callers

nothing calls this directly

Calls 2

renderMethod · 0.45
trackEventMethod · 0.45

Tested by

no test coverage detected