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

protected_branch_edit_list.js « protected_branches « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b40d3827c3067eefa47436f79fb9a658248043cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* eslint-disable no-new */

import ProtectedBranchEdit from './protected_branch_edit';

export default class ProtectedBranchEditList {
  constructor() {
    this.$wrap = $('.protected-branches-list');
    this.initEditForm();
  }

  initEditForm() {
    this.$wrap.find('.js-protected-branch-edit-form').each((i, el) => {
      new ProtectedBranchEdit({
        $wrap: $(el),
      });
    });
  }
}