debian-mirror-gitlab/app/assets/javascripts/dirty_submit/dirty_submit_collection.js
2021-03-08 18:12:59 +05:30

13 lines
289 B
JavaScript

import DirtySubmitForm from './dirty_submit_form';
class DirtySubmitCollection {
constructor(forms) {
this.forms = forms;
this.dirtySubmits = [];
this.forms.forEach((form) => this.dirtySubmits.push(new DirtySubmitForm(form)));
}
}
export default DirtySubmitCollection;