()
| 30 | } |
| 31 | |
| 32 | onAgree () { |
| 33 | this.$el.find('#agreement-button').prop('disabled', true).text('Saving') |
| 34 | return $.ajax({ |
| 35 | url: '/db/user/me/agreeToCLA', |
| 36 | data: { githubUsername: this.$el.find('#github-username').val() }, |
| 37 | method: 'POST', |
| 38 | success: this.onAgreeSucceeded, |
| 39 | error: this.onAgreeFailed |
| 40 | }) |
| 41 | } |
| 42 | |
| 43 | onAgreeSucceeded () { |
| 44 | return this.$el.find('#agreement-button').text('Success') |
nothing calls this directly
no outgoing calls
no test coverage detected