Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dirty_submit_collection.js « dirty_submit « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4886125d4ac336ae7e81c71be327e96120ea37a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;