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

Method initClass

app/views/CLAView.js:24–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 }
23
24 static initClass () {
25 this.prototype.id = 'cla-view'
26 this.prototype.template = template
27
28 this.prototype.events =
29 { 'click #agreement-button': 'onAgree' }
30 }
31
32 onAgree () {
33 this.$el.find('#agreement-button').prop('disabled', true).text('Saving')

Callers 1

CLAView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected