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

protected_branch_edit_list.js.es6 « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9ff0fd12c76202031395f05ecd05f1ce55fa6c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(global => {
  global.gl = global.gl || {};

  gl.ProtectedBranchEditList = class {
    constructor() {
      this.$wrap = $('.protected-branches-list');

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

})(window);