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

Method initClass

app/views/account/InvoicesView.js:21–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19module.exports = (InvoicesView = (function () {
20 InvoicesView = class InvoicesView extends RootView {
21 static initClass () {
22 this.prototype.id = 'invoices-view'
23 this.prototype.template = template
24
25 this.prototype.events =
26 { 'click #pay-button': 'onPayButton' }
27
28 this.prototype.subscriptions =
29 { 'stripe:received-token': 'onStripeReceivedToken' }
30 }
31
32 constructor (options) {
33 super(options)

Callers 1

InvoicesView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected