gitlab-org--gitlab-foss/app/assets/javascripts/protected_branch_edit_list....

18 lines
362 B
JavaScript
Raw Normal View History

(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);