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

Method onClickViewClass

app/views/courses/CoursesView.js:741–747  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

739 }
740
741 onClickViewClass (e) {
742 const classroomID = $(e.target).data('classroom-id')
743 if (window.tracker != null) {
744 window.tracker.trackEvent('Students View Class', { category: 'Students', classroomID })
745 }
746 return application.router.navigate(`/students/${classroomID}`, { trigger: true })
747 }
748
749 onClickViewLevels (e) {
750 const courseID = $(e.target).data('course-id')

Callers

nothing calls this directly

Calls 3

dataMethod · 0.80
navigateMethod · 0.80
trackEventMethod · 0.45

Tested by

no test coverage detected