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

Method initClass

app/views/core/RecoverModal.js:27–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25module.exports = (RecoverModal = (function () {
26 RecoverModal = class RecoverModal extends ModalView {
27 static initClass () {
28 this.prototype.id = 'recover-modal'
29 this.prototype.template = template
30
31 this.prototype.events = {
32 'click #recover-button': 'recoverAccount',
33 'keyup input': 'recoverAccount'
34 }
35
36 this.prototype.subscriptions =
37 { 'errors:server-error': 'onServerError' }
38 }
39
40 afterRender = function () {
41 setTimeout(() => {

Callers 1

RecoverModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected