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

Method onClickTeacherHelp

app/views/play/menu/MyCodeView.js:80–91  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

78 }
79
80 onClickTeacherHelp (e) {
81 Backbone.Mediator.publish('websocket:asking-help', {
82 msg: {
83 to: this.teacherID.toString(),
84 type: 'msg',
85 info: {
86 text: $.i18n.t('teacher.student_ask_for_help', { name: me.broadName() }),
87 url: window.location.pathname,
88 },
89 },
90 })
91 }
92
93 onClickImageGallery (e) {
94 this.openModalView(new ImageGalleryModal())

Callers

nothing calls this directly

Calls 2

publishMethod · 0.80
broadNameMethod · 0.80

Tested by

no test coverage detected