()
| 15 | module.exports = (RevertModal = (function () { |
| 16 | RevertModal = class RevertModal extends ModalView { |
| 17 | static initClass () { |
| 18 | this.prototype.id = 'revert-modal' |
| 19 | this.prototype.template = template |
| 20 | |
| 21 | this.prototype.events = |
| 22 | { 'click #changed-models button': 'onRevertModel' } |
| 23 | } |
| 24 | |
| 25 | onRevertModel (e) { |
| 26 | const id = $(e.target).val() |